SignedPkcs7T Class

Represents base class for any sort of PKCS #7 signed message.

Definition

Namespace: SysadminsLV.PKI.Cryptography.Pkcs
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public abstract class SignedPkcs7<T>
where T : class
Inheritance
Object    SignedPkcs7T
Derived

Type Parameters

T
Any reference type that represents the contents of signed message.

Remarks

This class is abstract and cannot be instantiated.

Constructors

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

Methods

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.
CheckSignature Checks the signature of the CMS/PKCS #7 message and, optionally, validates the signers' certificates.
DecodeCms Decodes cms from ASN reader.
DecodeContent Implementers use this method to decode content of the signed message and set it in Content member.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetSignedCms Returns an instance of SignedCms provided by .NET Framework.
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also