Class PKCS15_CommonKeyAttributes
Object
|
+--PKCS15_CIO
|
+--PKCS15_CommonKeyAttributes
-
Direct Known Subclasses:
-
PKCS15_CommonSecretKeyAttributes, PKCS15_CommonPrivateKeyAttributes
- class
PKCS15_CommonKeyAttributes
- extends PKCS15_CIO
This class adds common key attributes to the base CIO class.
The class decodes the following ASN.1 syntax:
CommonKeyAttributes ::= SEQUENCE {
iD Identifier,
usage KeyUsageFlags,
native BOOLEAN DEFAULT TRUE,
accessFlags KeyAccessFlags OPTIONAL,
keyReference KeyReference OPTIONAL,
startDate GeneralizedTime OPTIONAL,
endDate [0] GeneralizedTime OPTIONAL,
algReference [1] SEQUENCE OF Reference OPTIONAL,
... -- For future extensions
}
Defined in p15classes.js
See:
Method Summary |
String
|
getAccessFlagsAsString()
Gets the key access flags as string of concatenated flags.
|
String
|
getUsageAsString()
Gets the key usage flags as string of concatenated flags.
|
String
|
toString()
Convert the object to a human readable string
|
accessFlags
Object accessFlags
algReference
Object algReference
endDate
Object endDate
iD
Object iD
keyReference
Object keyReference
native_
Object native_
startDate
Object startDate
usage
Object usage
PKCS15_CommonKeyAttributes
PKCS15_CommonKeyAttributes(tlv)
Create a Common Key Attribute Object
Parameters:
the
- tlv structure containing the CIO
getAccessFlagsAsString
String getAccessFlagsAsString()
Gets the key access flags as string of concatenated flags.
Returns:
the string containing the flags separated by a blank
getUsageAsString
String getUsageAsString()
Gets the key usage 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
Documentation generated by
JSDoc on Tue Apr 15 22:10:49 2025