SignedContentBlobSign Method (X509Certificate2, Oid) |
Signs
ToBeSignedData data with specified signer certificate and hash algorithm
Namespace:
SysadminsLV.PKI.Cryptography
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public void Sign(
X509Certificate2 signerCert,
Oid hashAlgorithm
)
Public Sub Sign (
signerCert As X509Certificate2,
hashAlgorithm As Oid
)
public:
void Sign(
X509Certificate2^ signerCert,
Oid^ hashAlgorithm
)
member Sign :
signerCert : X509Certificate2 *
hashAlgorithm : Oid -> unit
Parameters
- signerCert
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Signer certificate with associated private key. - hashAlgorithm
- Type: System.Security.CryptographyOid
Hash algorithm used to sign the data.
See Also