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: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)

Method Detail

toString

String toString()


Documentation generated by JSDoc on Tue Apr 15 22:10:49 2025