CmsSigner.SignedAttributes Property

Definition

Gets a collections of attributes to associate with this signature that are also protected by the signature.

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

Property Value

CryptographicAttributeObjectCollection

A collections of attributes to associate with this signature that are also protected by the signature.

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.

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

Applies to

See also