編輯

共用方式為


AlgorithmIdentifier Class

Definition

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

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

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

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