Szerkesztés

Megosztás a következőn keresztül:


SignerInfo.SignedAttributes Property

Definition

The SignedAttributes property retrieves the CryptographicAttributeObjectCollection collection of signed attributes that is associated with the signer information. Signed attributes are signed along with the rest of the message content.

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

Property Value

A CryptographicAttributeObjectCollection collection that represents the signed attributes. If there are no signed attributes, the property is an empty collection.

Remarks

An example of a signed attribute that might be included in the CryptographicAttributeObjectCollection collection retrieved by the SignedAttributes property is the Pkcs9SigningTime signing time attribute.

Signed attributes are signed along with the rest of the SignedCms message content. This means that a party that successfully verifies the signature can have confidence that the contents of these attributes are authentic and have not been altered.

A Pkcs9ContentType object and a Pkcs9MessageDigest object will be automatically generated and placed in the SignedAttributes property whenever the CmsSigner.SignedAttributes property for the corresponding signer is not empty.

Applies to

See also