ContentInfo Constructor
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9083)
ContentInfo(Byte[])
Initializes a new instance of ContentInfo using the specified array of bytes as content and an object identifier "data" as content type.
Declaration
public ContentInfo(byte[] content)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | content | The message content. |
ContentInfo(ObjectIdentifier, Byte[])
Initializes a new instance of ContentInfo using the specified array of bytes as content and the specified object identifier as content type.
Declaration
public ContentInfo(ObjectIdentifier contentType, byte[] content)
Parameters
Type | Name | Description |
---|---|---|
ObjectIdentifier | contentType | The message content type. |
Byte[] | content | The message content. |