ContentInfo Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9083)
The ContentInfo class represents the CMS/PKCS #7 ContentInfo data structure. It encapsulates the content of SignedData or EnvelopedData messages.
Syntax
public class ContentInfo
Inherited Members
Constructors
Name | Description |
---|---|
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. |
ContentInfo(Byte[]) | Initializes a new instance of ContentInfo using the specified array of bytes as content and an object identifier "data" as content type. |
Properties
Name | Description |
---|---|
ContentType | Gets the object identifier of the CMS/PKCS #7 message content type. |
Methods
Name | Description |
---|---|
CopyTo(Stream) | Copies the content of the CMS/PKCS #7 message into the supplied stream. |
ToArray() | Gets the content of the CMS/PKCS #7 message. |
ToStream() | Returns a Stream representation of the content. |