EncodedData object

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

The EncodedData object represents a block of ASN.1 encoded data.

When to use

The EncodedData object is returned by several CAPICOM object properties. When returned, this object is used to perform the following tasks:

  • Obtain a string representation of the encoded data.
  • Obtain the decoder object, if it exists, that is associated with the encoded data.
  • Determine the type of encoded data.

Members

The EncodedData object has these types of members:

Methods

The EncodedData object has these methods.

Method Description
Decoder Obtains a decoder object, if one exists.
Format Returns a string representation of the encoded data.

 

Properties

The EncodedData object has these properties.

Property Access type Description
Value
Read-only
Retrieves the encoded data. This is the default property.

 

Remarks

The only supported type of encoded data is CertificatePolicies.

The EncodedData object cannot be created.

The following CAPICOM object properties return an EncodedData object:

  • PublicKey.EncodedKey
  • PublicKey.EncodedParameters
  • Extension.EncodedData
  • Policy.EncodedData

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