Upraviť

Zdieľať cez


X509SignatureGenerator Class

Definition

Base class for building encoded signatures as needed for X.509 certificates.

public ref class X509SignatureGenerator abstract
public abstract class X509SignatureGenerator
type X509SignatureGenerator = class
Public MustInherit Class X509SignatureGenerator
Inheritance
X509SignatureGenerator

Constructors

X509SignatureGenerator()

Initializes a new instance of the X509SignatureGenerator class.

Properties

PublicKey

Gets the public key associated with the private key with which signatures are being generated.

Methods

BuildPublicKey()

When overridden in a derived class, produces the certificate's public key that has the correctly encoded Oid, public key parameters and public key values.

CreateForECDsa(ECDsa)

Creates an X509SignatureGenerator object for ECDSA signatures using the specified private key.

CreateForRSA(RSA, RSASignaturePadding)

Creates an X509SignatureGenerator object for RSA signatures using the specified private key and padding mode.

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)
GetSignatureAlgorithmIdentifier(HashAlgorithmName)

When overridden in a derived class, encodes the X.509 algorithm identifier for this signature.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SignData(Byte[], HashAlgorithmName)

When overridden in a derived class, produces a signature for the specified data using the specified hash algorithm and encodes the results appropriately for X.509 signature values.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to