Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class PKCS15_CommonCertificateAttributes

    Object
       |
       +--PKCS15_CIO
             |
             +--PKCS15_CommonCertificateAttributes

Direct Known Subclasses:
  PKCS15_Certificate

class PKCS15_CommonCertificateAttributes
extends PKCS15_CIO

This class adds common certificate attributes to the base CIO class.

The class decodes the following ASN.1 syntax:

     CommonCertificateAttributes ::= SEQUENCE {
     iD Identifier,
     authority BOOLEAN DEFAULT FALSE,
     identifier CredentialIdentifier {{KeyIdentifiers}} OPTIONAL,
     certHash [0] CertHash OPTIONAL,
     trustedUsage [1] Usage OPTIONAL,
     identifiers [2] SEQUENCE OF CredentialIdentifier {{KeyIdentifiers}} OPTIONAL,
     validity [4] Validity OPTIONAL,
     ...
     } -- Context tag [3] is reserved for historical reasons
     NOTE PKCS #15 uses context tag [3].
     Usage ::= SEQUENCE {
     keyUsage KeyUsage OPTIONAL,
     extKeyUsage SEQUENCE SIZE (1..MAX) OF OBJECT IDENTIFIER OPTIONAL,
     ...
     } (WITH COMPONENTS {..., keyUsage PRESENT} | WITH COMPONENTS {..., extKeyUsage PRESENT})

See:

- PKCS15_CIO is the base class

Defined in p15classes.js

Field Summary
`Object` | `authority`
`Object` | `iD`
`Object` | `identifier`

Fields inherited from class PKCS15_CIO
`tlv, label, flags, authId, userConsent, accessControlRules`

Constructor Summary
`PKCS15_CommonCertificateAttributes(tlv)` Create a Common Certificate Attribute Object

Method Summary
`String` | `toString()` Convert the object to a human readable string

Methods inherited from class PKCS15_CIO
`getFlagsAsString`

Field Detail

### authority

    Object authority

### iD

    Object iD

### identifier

    Object identifier

Constructor Detail

### PKCS15_CommonCertificateAttributes

    PKCS15_CommonCertificateAttributes(tlv)

Create a Common Certificate Attribute Object

Parameters:

`the` - tlv structure containing the CIO

See:

- PKCS15_CIO is the base class

Method Detail

### toString

    String toString()

Convert the object to a human readable string

Returns:

content information

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Wed Jan 14 16:42:14 2026