Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ContentInfo Class

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

The ContentInfo class represents the CMS/PKCS #7 ContentInfo data structure. It encapsulates the content of SignedData or EnvelopedData messages.

Syntax
public class ContentInfo
Inheritance
Object
ContentInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies