DefaultSignedPkcs7 Class

Represents general/common implementation of signed PKCS #7 with arbitrary content type. The type of Content is Byte[].

Definition

Namespace: SysadminsLV.PKI.Cryptography.Pkcs
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public sealed class DefaultSignedPkcs7 : SignedPkcs7<byte[]>
Inheritance
Object    SignedPkcs7Byte    DefaultSignedPkcs7

Constructors

DefaultSignedPkcs7 Initializes a new instance of SignedPkcs7 message from ASN.1-encoded PKCS# signed message.

Properties

Certificates Gets a collection of certificates contained in signed message.
(Inherited from SignedPkcs7T)
Content Gets the content of the current signed message. Object type is determined by implementer based on ContentType information.
(Inherited from SignedPkcs7T)
ContentType Gets the object identifier that identifies the content type stored in Content member.
(Inherited from SignedPkcs7T)
DigestAlgorithms Gets a collection of hashing algorithms.
(Inherited from SignedPkcs7T)
RawData Gets the ASN.1-encoded byte array that represents current object.
(Inherited from SignedPkcs7T)
RevocationLists Gets an array of certificate revocation lists contained in the message.
(Inherited from SignedPkcs7T)
SignerInfos Gets an array of signer information that were used to sign the message.
(Inherited from SignedPkcs7T)
Version Gets the version of the CMS/PKCS#7 message. Currently, only version 1 is defined.
(Inherited from SignedPkcs7T)

Methods

AddTimestamp(TspResponse) Adds a pre-created timestamp to the signature.
AddTimestamp(String, Oid, Int32) Timestamps the specified signature using external Time-Stamp Authority.
CheckHash Verifies the data integrity of the CMS/PKCS #7 message. This is a specialized method used in specific security infrastructure applications that only wish to check the hash of the CMS message, rather than perform a full digital signature verification.
(Inherited from SignedPkcs7T)
CheckSignature Checks the signature of the CMS/PKCS #7 message and, optionally, validates the signers' certificates.
(Inherited from SignedPkcs7T)
Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetSignedCms Returns an instance of SignedCms provided by .NET Framework.
(Inherited from SignedPkcs7T)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also