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
Method Summary |
String
|
toString()
Convert the object to a human readable string
|
authority
Object authority
iD
Object iD
identifier
Object identifier
PKCS15_CommonCertificateAttributes
PKCS15_CommonCertificateAttributes(tlv)
Create a Common Certificate Attribute Object
Parameters:
the
- tlv structure containing the CIO
toString
String toString()
Convert the object to a human readable string
Documentation generated by
JSDoc on Tue Apr 15 22:10:49 2025