]>
Commit | Line | Data |
---|---|---|
bac41a7b A |
1 | PrivateKeyInformationSyntax |
2 | -- PKCS#8 ASN.1 | |
3 | DEFINITIONS IMPLICIT TAGS ::= | |
4 | BEGIN | |
5 | -- EXPORTS All -- | |
6 | IMPORTS | |
7 | AlgorithmIdentifier | |
8 | FROM AuthenticationFramework { authenticationFramework } | |
9 | Attributes | |
10 | FROM InformationFramework { informationFramework } | |
11 | EncryptedKey | |
12 | FROM CryptographicMessageSyntax | |
13 | ; | |
14 | ||
15 | PrivateKeyInfo ::= SEQUENCE { | |
16 | version INTEGER, -- Version, | |
17 | privateKeyAlgorithm AlgorithmIdentifier, | |
18 | privateKey PrivateKey, | |
19 | attributes [0] IMPLICIT Attributes OPTIONAL } | |
20 | ||
21 | ||
22 | -- Version ::= INTEGER | |
23 | ||
24 | -- PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier | |
25 | ||
26 | ||
27 | PrivateKey ::= OCTET STRING | |
28 | ||
29 | ||
30 | EncryptedPrivateKeyInfo ::= SEQUENCE { | |
31 | encryptionAlgorithm AlgorithmIdentifier, | |
32 | encryptedKey EncryptedKey } | |
33 | ||
34 | ||
35 | -- EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier | |
36 | ||
37 | -- EncryptedKey ::= OCTET STRING | |
38 | ||
39 | END -- PrivateKeyInformationSyntax | |
40 |