Attribute object

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP. Instead, use the CryptographicAttributeObject Class in the System.Security.Cryptography namespace.]

The Attribute object represents a single authenticated attribute.

When to use

The Attribute object is used to perform the following tasks:

  • Set or retrieve the CAPICOM name of the attribute.
  • Set or retrieve the value of the attribute, such as signing time, the name of the document signed, or a description of the document signed.

Members

The Attribute object has these types of members:

Properties

The Attribute object has these properties.

Property Access type Description
Name
Read/write
Sets or retrieves the CAPICOM name of the attribute. This is the default property.
Value
Read/write
Sets or retrieves the value of the attribute.

 

Remarks

The Attribute object can be created, and it is safe for scripting. The ProgID for the Attribute object is CAPICOM.Attribute.1.

Requirements

Requirement Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Cryptography Objects