Share via

SignerInfo.UnsignedAttributes Property


The UnsignedAttributes property retrieves the CryptographicAttributeObjectCollection collection of unsigned attributes that is associated with the SignerInfo content. Unsigned attributes can be modified without invalidating the signature.

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

Property Value

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


Unsigned attributes are not signed along with the rest of the SignedCms message content. Even though a party successfully verifies the signature, the unsigned attributes may have been altered and should not be considered to have authenticity or integrity.

An example of an unsigned attribute that might be included in the CryptographicAttributeObjectCollection collection retrieved by the UnsignedAttributes property is a countersignature.

Applies to

See also