Click or drag to resize

SignedPkcs7T Class

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

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
public abstract class SignedPkcs7<T>
where T : class

Type Parameters

Any reference type that represents the contents of signed message.

The SignedPkcs7T type exposes the following members.

Public propertyCertificates
Gets a collection of certificates contained in signed message.
Public propertyContent
Gets the content of the current signed message. Object type is determined by implementer based on ContentType information.
Public propertyContentType
Gets the object identifier that identifies the content type stored in Content member.
Public propertyDigestAlgorithms
Gets a collection of hashing algorithms.
Public propertyRawData
Gets the ASN.1-encoded byte array that represents current object.
Public propertyRevocationLists
Gets an array of certificate revocation lists contained in the message.
Public propertySignerInfos
Gets an array of signer information that were used to sign the message.
Public propertyVersion
Gets the version of the CMS/PKCS#7 message. Currently, only version 1 is defined.
Public methodCheckHash
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.
Public methodCheckSignature
Checks the signature of the CMS/PKCS #7 message and, optionally, validates the signers' certificates.
Protected methodDecodeCms
Decodes cms from ASN reader.
Protected methodDecodeContent
Implementers use this method to decode content of the signed message and set it in Content member.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSignedCms
Returns an instance of SignedCms provided by .NET Framework.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
This class is abstract and cannot be instantiated.
See Also