PkcsSignerInfoBuilderEncode Method

Encodes and signs the content using the signer object used in

Definition

Namespace: SysadminsLV.PKI.Cryptography.Pkcs
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public PkcsSignerInfo Encode()

Return Value

PkcsSignerInfo
An instance of PkcsSignerInfo class.

Remarks

Before signing, the method adds two authenticated attributes: content type and message digest. Authenticated attributes are then signed with signer's private key.

See Also