KeyTransRecipientInfo Clase
Definición
La clase KeyTransRecipientInfo define la información del destinatario para transporte de claves.The KeyTransRecipientInfo class defines key transport recipient information. Los algoritmos de transporte de claves usan normalmente el algoritmo RSA, en el que un originador establece una clave criptográfica compartida con un destinatario generando esa clave y transportándola a continuación al destinatario.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. Por el contrario, en los algoritmos de acuerdo de claves, las dos partes que van a usar la clave criptográfica participan en su generación y acuerdan conjuntamente su uso.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.
public ref class KeyTransRecipientInfo sealed : System::Security::Cryptography::Pkcs::RecipientInfo
public sealed class KeyTransRecipientInfo : System.Security.Cryptography.Pkcs.RecipientInfo
type KeyTransRecipientInfo = class
inherit RecipientInfo
Public NotInheritable Class KeyTransRecipientInfo
Inherits RecipientInfo
- Herencia
Comentarios
Esta clase no tiene un constructor público; por lo tanto, no se puede crear una instancia públicamente.This class does not have a public constructor; therefore, it cannot be publicly instantiated. Es una clase de solo lectura accesible desde la EnvelopedCms.RecipientInfos propiedad.It is a read-only class accessible from the EnvelopedCms.RecipientInfos property.
Propiedades
EncryptedKey |
La propiedad EncryptedKey recupera la clave cifrada para el destinatario del transporte de esta clave.The EncryptedKey property retrieves the encrypted key for this key transport recipient. |
KeyEncryptionAlgorithm |
La propiedad KeyEncryptionAlgorithm recupera el algoritmo usado para cifrar la clave de cifrado de contenido.The KeyEncryptionAlgorithm property retrieves the key encryption algorithm used to encrypt the content encryption key. |
RecipientIdentifier |
La propiedad RecipientIdentifier recupera el identificador del sujeto asociado al contenido cifrado.The RecipientIdentifier property retrieves the subject identifier associated with the encrypted content. |
Type |
La propiedad Type recupera el tipo del destinatario.The Type property retrieves the type of the recipient. El tipo del destinatario determina cuál de los dos protocolos principales ha de utilizarse para establecer una clave entre el autor y el destinatario de un mensaje CMS/PKCS #7.The type of the recipient determines which of two major protocols is used to establish a key between the originator and the recipient of a CMS/PKCS #7 message. (Heredado de RecipientInfo) |
Version |
La propiedad Version recupera la versión del destinatario del transporte de la clave.The Version property retrieves the version of the key transport recipient. La versión del destinatario del transporte de la clave se establece automáticamente para los objetos de esta clase, y el valor implica que el destinatario está participando en un algoritmo de transporte de claves.The version of the key transport recipient is automatically set for objects in this class, and the value implies that the recipient is taking part in a key transport algorithm. |
Métodos
Equals(Object) |
Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object. (Heredado de Object) |
GetHashCode() |
Sirve como función hash predeterminada.Serves as the default hash function. (Heredado de Object) |
GetType() |
Obtiene el Type de la instancia actual.Gets the Type of the current instance. (Heredado de Object) |
MemberwiseClone() |
Crea una copia superficial del Object actual.Creates a shallow copy of the current Object. (Heredado de Object) |
ToString() |
Devuelve un valor de tipo string que representa el objeto actual.Returns a string that represents the current object. (Heredado de Object) |