Share via


SignerInfo.SignedAttributes Propriété

Définition

La propriété SignedAttributes récupère la collection CryptographicAttributeObjectCollection d'attributs signés qui est associée aux informations sur le signataire. Les attributs signés sont signés conjointement au reste du contenu du message.

public:
 property System::Security::Cryptography::CryptographicAttributeObjectCollection ^ SignedAttributes { System::Security::Cryptography::CryptographicAttributeObjectCollection ^ get(); };
public System.Security.Cryptography.CryptographicAttributeObjectCollection SignedAttributes { get; }
member this.SignedAttributes : System.Security.Cryptography.CryptographicAttributeObjectCollection
Public ReadOnly Property SignedAttributes As CryptographicAttributeObjectCollection

Valeur de propriété

Collection CryptographicAttributeObjectCollection représentant les attributs signés. En l'absence d'attribut signé, la propriété est une collection vide.

Remarques

Un exemple d’attribut signé qui peut être inclus dans la CryptographicAttributeObjectCollection collection récupérée par la propriété est l’attribut SignedAttributes d’heure de Pkcs9SigningTime signature.

Les attributs signés sont signés avec le reste du contenu du SignedCms message. Cela signifie qu’une partie qui vérifie correctement la signature peut avoir confiance que le contenu de ces attributs est authentique et n’a pas été modifié.

Un Pkcs9ContentType objet et un Pkcs9MessageDigest objet sont générés automatiquement et placés dans la SignedAttributes propriété chaque fois que la CmsSigner.SignedAttributes propriété du signataire correspondant n’est pas vide.

S’applique à

Voir aussi