CmsSigner.SignedAttributes Property

 

The SignedAttributes property retrieves the CryptographicAttributeObjectCollection collection of signed attributes to be associated with the resulting SignerInfo content. Signed attributes are signed along with the specified content.

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)

public CryptographicAttributeObjectCollection SignedAttributes { get; }

Property Value

Type: System.Security.Cryptography.CryptographicAttributeObjectCollection

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

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.

.NET Framework
Available since 2.0
Return to top
Show: