RSAPKCS1SignatureFormatter Constructors

Definition

Initializes a new instance of the RSAPKCS1SignatureFormatter class.

Overloads

RSAPKCS1SignatureFormatter()

Initializes a new instance of the RSAPKCS1SignatureFormatter class.

RSAPKCS1SignatureFormatter(AsymmetricAlgorithm)

Initializes a new instance of the RSAPKCS1SignatureFormatter class with the specified key.

RSAPKCS1SignatureFormatter()

Initializes a new instance of the RSAPKCS1SignatureFormatter class.

public:
 RSAPKCS1SignatureFormatter();
public RSAPKCS1SignatureFormatter ();
Public Sub New ()

Remarks

Use SetKey and SetHashAlgorithm to set the key and hash algorithm before calling CreateSignature.

See also

RSAPKCS1SignatureFormatter(AsymmetricAlgorithm)

Initializes a new instance of the RSAPKCS1SignatureFormatter class with the specified key.

public:
 RSAPKCS1SignatureFormatter(System::Security::Cryptography::AsymmetricAlgorithm ^ key);
public RSAPKCS1SignatureFormatter (System.Security.Cryptography.AsymmetricAlgorithm key);
new System.Security.Cryptography.RSAPKCS1SignatureFormatter : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.RSAPKCS1SignatureFormatter
Public Sub New (key As AsymmetricAlgorithm)

Parameters

key
AsymmetricAlgorithm

The instance of the RSA algorithm that holds the private key.

Exceptions

key is null.

Remarks

Use SetHashAlgorithm to set the hash algorithm before calling CreateSignature.

See also

Applies to