Constructor
new EncryptedPrivateKeyInfo()
Encrypted Private-Key Information Syntax
-- Encrypted private-key information syntax
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
encryptedData KeyEncryptedData
}
KeyEncryptedData ::= OCTET STRING
PrivateKeyAlgorithms ALGORITHM-IDENTIFIER ::= {
... -- For local profiles
}
KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
... -- For local profiles
}
RFC 5208 references http://tools.ietf.org/html/rfc5208
Properties:
| Name | Type | Description |
|---|---|---|
encryptionAlgorithm |
AlgorithmIdentifier | Identifies key encryption algorithm |
encryptedData |
CryptoOperationData | Encrypted GostASN1.PrivateKeyInfo |
- Source:
Extends
Methods
-
check()
-
Check the object structure
- Inherited From:
- Source:
-
decode(source)
-
Decode the source to self object
Parameters:
Name Type Description sourceFormatedData Encoded data - Inherited From:
- Source:
-
encode(format) → {FormatedData}
-
Encode the object
Parameters:
Name Type Description formatstring Encoding format 'DER', 'CER' or 'PEM' - Inherited From:
- Source:
Returns:
- Type
- FormatedData