Export (0) Print
Expand All

SignerInfo.SignedAttributes Property

The SignedAttributes property retrieves the CryptographicAttributeCollection 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 */
public CryptographicAttributeObjectCollection get_SignedAttributes ()

public function get SignedAttributes () : CryptographicAttributeObjectCollection

Not applicable.

Property Value

A CryptographicAttributeCollection 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 CryptographicAttributeCollection 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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft