AlgorithmIdentifier Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)

System.Object
  System.Security.Cryptography.Pkcs.AlgorithmIdentifier

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class AlgorithmIdentifier

NameDescription
System_CAPS_pubmethodAlgorithmIdentifier()

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

System_CAPS_pubmethodAlgorithmIdentifier(Oid)

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

System_CAPS_pubmethodAlgorithmIdentifier(Oid, Int32)

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

NameDescription
System_CAPS_pubpropertyKeyLength

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

System_CAPS_pubpropertyOid

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

System_CAPS_pubpropertyParameters

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: