Class PkcsSigningCertificateV2
Inherited Members
Namespace: CryptoPro.Security.Cryptography
Assembly: CryptoPro.Security.Cryptography.Pkcs.dll
Syntax
public class PkcsSigningCertificateV2 : Pkcs9AttributeObject
Constructors
PkcsSigningCertificateV2(CpX509Certificate2)
Declaration
public PkcsSigningCertificateV2(CpX509Certificate2 cert)
Parameters
| Type | Name | Description |
|---|---|---|
| CpX509Certificate2 | cert |
PkcsSigningCertificateV2(CpX509Certificate2, HashAlgorithmName)
Declaration
public PkcsSigningCertificateV2(CpX509Certificate2 cert, HashAlgorithmName hashAlgorithmName)
Parameters
| Type | Name | Description |
|---|---|---|
| CpX509Certificate2 | cert | |
| HashAlgorithmName | hashAlgorithmName |
Methods
CopyFrom(AsnEncodedData)
Copies a PKCS #9 attribute type and value for this Pkcs9AttributeObject from the specified AsnEncodedData object.
Declaration
public override void CopyFrom(AsnEncodedData asnEncodedData)
Parameters
| Type | Name | Description |
|---|---|---|
| AsnEncodedData | asnEncodedData | An object that contains the PKCS #9 attribute type and value to use. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
| ArgumentNullException |
|