Class PKCS15_CIO
Object
|
+--PKCS15_CIO
-
Direct Known Subclasses:
-
PKCS15_CommonCertificateAttributes, PKCS15_CommonKeyAttributes, PKCS15_CommonDataContainerObjectAttributes, PKCS15_CommonAuthenticationObjectAttributes
- class
PKCS15_CIO
This is the base class for all cryptographic objects in a PKCS#15 data structure.
The class decodes the following ASN.1 syntax:
CommonObjectAttributes ::= SEQUENCE {
label Label OPTIONAL,
flags CommonObjectFlags OPTIONAL,
authId Identifier OPTIONAL,
userConsent INTEGER (1..cia-ub-userConsent) OPTIONAL,
accessControlRules SEQUENCE SIZE (1..MAX) OF AccessControlRule OPTIONAL,
...
} (CONSTRAINED BY {-- authId should be present if flags.private is set.
-- It shall equal an authID in one authentication object in the AOD -- })
Defined in p15classes.js
Constructor Summary |
PKCS15_CIO(tlv)
Create a Cryptographic Information Object (CIO)
|
Method Summary |
String
|
getFlagsAsString()
Gets the common object flags as string of concatenated flags.
|
String
|
toString()
Convert the object to a human readable string
|
accessControlRules
Object accessControlRules
authId
Object authId
flags
Object flags
label
Object label
tlv
Object tlv
userConsent
Object userConsent
PKCS15_CIO
PKCS15_CIO(tlv)
Create a Cryptographic Information Object (CIO)
Parameters:
the
- tlv structure containing the CIO
getFlagsAsString
String getFlagsAsString()
Gets the common object flags as string of concatenated flags.
Returns:
the string containing the flags separated by a blank
toString
String toString()
Convert the object to a human readable string
Returns:
the string representation of the object
Documentation generated by
JSDoc on Tue Apr 15 22:10:49 2025