This documentation is archived and is not being maintained.

SignerInfo.SignedAttributes Property

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.

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

public CryptographicAttributeObjectCollection SignedAttributes { get; }

Property Value

Type: System.Security.Cryptography.CryptographicAttributeObjectCollection
A 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.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: