RSAPKCS1SignatureFormatter Constructors
Definition
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.
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
Applies to
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
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.