System.Security.Cryptography.Pkcs Namespace

The System.Security.Cryptography.Pkcs namespace provides programming elements for Public Key Cryptography Standards (PKCS), including methods for signing data, exchanging keys, requesting certificates, public key encryption and decryption, and other security functions.

Remarks

To be added.

Classes

TypeReason
AlgorithmIdentifier

The System.Security.Cryptography.Pkcs.AlgorithmIdentifier class defines the algorithm used for a cryptographic operation.

CmsRecipient

The System.Security.Cryptography.Pkcs.CmsRecipient class defines the recipient of a CMS/PKCS #7 message.

CmsRecipientCollection

The System.Security.Cryptography.Pkcs.CmsRecipientCollection class represents a set of System.Security.Cryptography.Pkcs.CmsRecipient objects. System.Security.Cryptography.Pkcs.CmsRecipientCollection implements the ICollection interface.

CmsRecipientEnumerator

The System.Security.Cryptography.Pkcs.CmsRecipientEnumerator class provides enumeration functionality for the System.Security.Cryptography.Pkcs.CmsRecipientCollection collection. System.Security.Cryptography.Pkcs.CmsRecipientEnumerator implements the IEnumerator interface.

CmsSigner

The System.Security.Cryptography.Pkcs.CmsSigner class provides signing functionality.

ContentInfo

The System.Security.Cryptography.Pkcs.ContentInfo class represents the CMS/PKCS #7 ContentInfo data structure as defined in the CMS/PKCS #7 standards document. This data structure is the basis for all CMS/PKCS #7 messages.

EnvelopedCms

The System.Security.Cryptography.Pkcs.EnvelopedCms class represents a CMS/PKCS #7 structure for enveloped data.

KeyAgreeKeyChoice

The System.Security.Cryptography.Pkcs.KeyAgreeKeyChoice enumeration defines the type of key used in a key agreement protocol.

KeyAgreeRecipientInfo

The System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo class defines key agreement recipient information. Key agreement algorithms typically use the Diffie-Hellman key agreement algorithm, in which the two parties that establish a shared cryptographic key both take part in its generation and, by definition, agree on that key. This is in contrast to key transport algorithms, in which one party generates the key unilaterally and sends, or transports it, to the other party.

KeyTransRecipientInfo

The System.Security.Cryptography.Pkcs.KeyTransRecipientInfo class defines key transport recipient information. Key transport algorithms typically use the RSA algorithm, in which an originator establishes a shared cryptographic key with a recipient by generating that key and then transporting it to the recipient. This is in contrast to key agreement algorithms, in which the two parties that will be using a cryptographic key both take part in its generation, thereby mutually agreeing to that key.

Pkcs9AttributeObject

Represents an attribute used for CMS/PKCS #7 and PKCS #9 operations.

Pkcs9ContentType

The System.Security.Cryptography.Pkcs.Pkcs9ContentType class defines the type of the content of a CMS/PKCS #7 message.

Pkcs9DocumentDescription

The System.Security.Cryptography.Pkcs.Pkcs9DocumentDescription class defines the description of the content of a CMS/PKCS #7 message.

Pkcs9DocumentName

The System.Security.Cryptography.Pkcs.Pkcs9DocumentName class defines the name of a CMS/PKCS #7 message.

Pkcs9MessageDigest

The System.Security.Cryptography.Pkcs.Pkcs9MessageDigest class defines the message digest of a CMS/PKCS #7 message.

Pkcs9SigningTime

The System.Security.Cryptography.Pkcs.Pkcs9SigningTime class defines the signing date and time of a signature. A System.Security.Cryptography.Pkcs.Pkcs9SigningTime object can be used as an authenticated attribute of a System.Security.Cryptography.Pkcs.CmsSigner object when an authenticated date and time are to accompany a digital signature.

PublicKeyInfo

The System.Security.Cryptography.Pkcs.PublicKeyInfo class represents information associated with a public key.

RecipientInfo

The System.Security.Cryptography.Pkcs.RecipientInfo class represents information about a CMS/PKCS #7 message recipient. The System.Security.Cryptography.Pkcs.RecipientInfo class is an abstract class inherited by the System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo and System.Security.Cryptography.Pkcs.KeyTransRecipientInfo classes.

RecipientInfoCollection

The System.Security.Cryptography.Pkcs.RecipientInfoCollection class represents a collection of System.Security.Cryptography.Pkcs.RecipientInfo objects. System.Security.Cryptography.Pkcs.RecipientInfoCollection implements the ICollection interface.

RecipientInfoEnumerator

The System.Security.Cryptography.Pkcs.RecipientInfoEnumerator class provides enumeration functionality for the System.Security.Cryptography.Pkcs.RecipientInfoCollection collection. System.Security.Cryptography.Pkcs.RecipientInfoEnumerator implements the IEnumerator interface.

RecipientInfoType

The System.Security.Cryptography.Pkcs.RecipientInfoType enumeration defines the types of recipient information.

SignedCms

The System.Security.Cryptography.Pkcs.SignedCms class enables signing and verifying of CMS/PKCS #7 messages.

SignerInfo

The System.Security.Cryptography.Pkcs.SignerInfo class represents a signer associated with a System.Security.Cryptography.Pkcs.SignedCms object that represents a CMS/PKCS #7 message.

SignerInfoCollection

The System.Security.Cryptography.Pkcs.SignerInfoCollection class represents a collection of System.Security.Cryptography.Pkcs.SignerInfo objects. System.Security.Cryptography.Pkcs.SignerInfoCollection implements the ICollection interface.

SignerInfoEnumerator

The System.Security.Cryptography.Pkcs.SignerInfoEnumerator class provides enumeration functionality for the System.Security.Cryptography.Pkcs.SignerInfoCollection collection. System.Security.Cryptography.Pkcs.SignerInfoEnumerator implements the IEnumerator interface.

SubjectIdentifier

The System.Security.Cryptography.Pkcs.SubjectIdentifier class defines the type of the identifier of a subject, such as a System.Security.Cryptography.Pkcs.CmsSigner or a System.Security.Cryptography.Pkcs.CmsRecipient. The subject can be identified by the certificate issuer and serial number or the subject key.

SubjectIdentifierOrKey

The System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey class defines the type of the identifier of a subject, such as a System.Security.Cryptography.Pkcs.CmsSigner or a System.Security.Cryptography.Pkcs.CmsRecipient. The subject can be identified by the certificate issuer and serial number, the hash of the subject key, or the subject key.

SubjectIdentifierOrKeyType

The System.Security.Cryptography.Pkcs.SubjectIdentifierOrKeyType enumeration defines how a subject is identified.

SubjectIdentifierType

The System.Security.Cryptography.Pkcs.SubjectIdentifierType enumeration defines the type of subject identifier.