Share via


SignerInfo.SignedAttributes Proprietà

Definizione

La proprietà SignedAttributes recupera l'insieme CryptographicAttributeObjectCollection degli attributi firmati associato alle informazioni sul firmatario. Gli attributi firmati vengono firmati insieme al resto del contenuto del messaggio.

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

Valore della proprietà

Insieme CryptographicAttributeObjectCollection che rappresenta gli attributi firmati. Se non esistono attributi firmati, la proprietà è un insieme vuoto.

Commenti

Un esempio di attributo firmato che potrebbe essere incluso nell'insieme CryptographicAttributeObjectCollection recuperato dalla SignedAttributes proprietà è l'attributo dell'ora Pkcs9SigningTime di firma.

Gli attributi firmati vengono firmati insieme al resto del contenuto del SignedCms messaggio. Ciò significa che una parte che verifica correttamente la firma può avere la certezza che il contenuto di questi attributi sia autentico e non sia stato modificato.

Un Pkcs9ContentType oggetto e un Pkcs9MessageDigest oggetto verranno generati automaticamente e inseriti nella SignedAttributes proprietà ogni volta che la CmsSigner.SignedAttributes proprietà per il firmatario corrispondente non è vuota.

Si applica a

Vedi anche