Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AlgorithmIdentifier Class

Definition

Namespace:
System.Security.Cryptography.Pkcs
Assembly:
System.Security.Cryptography.Pkcs.dll
Assembly:
System.Security.dll
Package:
System.Security.Cryptography.Pkcs v11.0.0-preview.5.26302.115
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs
Source:
AlgorithmIdentifier.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The AlgorithmIdentifier class defines the algorithm used for a cryptographic operation.

public ref class AlgorithmIdentifier sealed
public sealed class AlgorithmIdentifier
type AlgorithmIdentifier = class
Public NotInheritable Class AlgorithmIdentifier
Inheritance
AlgorithmIdentifier

Constructors

Name Description
AlgorithmIdentifier()

The AlgorithmIdentifier() constructor creates an instance of the AlgorithmIdentifier class by using a set of default parameters.

AlgorithmIdentifier(Oid, Int32)

The AlgorithmIdentifier(Oid, Int32) constructor creates an instance of the AlgorithmIdentifier class with the specified algorithm identifier and key length.

AlgorithmIdentifier(Oid)

The AlgorithmIdentifier(Oid) constructor creates an instance of the AlgorithmIdentifier class with the specified algorithm identifier.

Properties

Name Description
KeyLength

The KeyLength property sets or retrieves the key length, in bits. This property is not used for algorithms that use a fixed key length.

Oid

The Oid property sets or retrieves the Oid object that specifies the object identifier for the algorithm.

Parameters

The Parameters property sets or retrieves any parameters required by the algorithm.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also


Feedback

Was this page helpful?