Initializes a new instance of ContentInfo using the specified array of bytes as content and the specified object identifier as content type.

Namespace:  Rebex.Security.Cryptography.Pkcs
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	contentType As ObjectIdentifier, _
	content As Byte() _
)
C#
public ContentInfo(
	ObjectIdentifier contentType,
	byte[] content
)

Parameters

contentType
Type: Rebex.Security.Cryptography..::..ObjectIdentifier
The message content type.
content
Type: array<System..::..Byte>[]()[][]
The message content.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also