Click or drag to resize

SignedCmsBuilder Constructor (Oid, Byte)

Initializes a new instance of SignedCmsBuilder from content type identifier and optional content.

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public SignedCmsBuilder(
	Oid contentType,
	byte[] content = null
)

Parameters

contentType
Type: System.Security.CryptographyOid
An object identifier that identifies the content type stored in PKCS#7 message.
content (Optional)
Type: SystemByte
Content embedded in the PKCS#7 message. This parameter is optional.
Remarks
If content parameter is null, signing operation will fail. Only message encoding is allowed.

If content parameter is presented, the content must be properly encoded without outer SEQUENCE type.

See Also