Class PKCS15_PrivateKey
Object
|
+--PKCS15_CIO
|
+--PKCS15_CommonKeyAttributes
|
+--PKCS15_CommonPrivateKeyAttributes
|
+--PKCS15_PrivateKey
- class
PKCS15_PrivateKey
- extends PKCS15_CommonPrivateKeyAttributes
This class adds private key attributes to the common private key attribute class.
The class supports RSA and ECC keys.
RSA keys are decoded from the following ASN.1 structure:
PrivateRSAKeyAttributes ::= SEQUENCE {
value Path,
modulusLength INTEGER, -- modulus length in bits, e.g. 1024
keyInfo KeyInfo {NULL, PublicKeyOperations} OPTIONAL,
... -- For future extensions
}
ECC keys are decoded from the following ASN.1 structure:
PrivateECKeyAttributes ::= SEQUENCE {
value Path,
keyInfo KeyInfo {Parameters, PublicKeyOperations} OPTIONAL,
... -- For future extensions
}
Defined in p15classes.js
See:
Field Summary |
Object |
type
|
type
Object type
PKCS15_PrivateKey
PKCS15_PrivateKey(tlv)
Create a Private Key Object
Parameters:
the
- tlv structure containing the CIO
Documentation generated by
JSDoc on Tue Apr 15 22:10:49 2025