]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - crypto/asymmetric_keys/pkcs8.asn1
Merge tag 'ntb-5.3' of git://github.com/jonmason/ntb
[mirror_ubuntu-hirsute-kernel.git] / crypto / asymmetric_keys / pkcs8.asn1
1 --
2 -- This is the unencrypted variant
3 --
4 PrivateKeyInfo ::= SEQUENCE {
5 version Version,
6 privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
7 privateKey PrivateKey,
8 attributes [0] IMPLICIT Attributes OPTIONAL
9 }
10
11 Version ::= INTEGER ({ pkcs8_note_version })
12
13 PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier ({ pkcs8_note_algo })
14
15 PrivateKey ::= OCTET STRING ({ pkcs8_note_key })
16
17 Attributes ::= SET OF Attribute
18
19 Attribute ::= ANY
20
21 AlgorithmIdentifier ::= SEQUENCE {
22 algorithm OBJECT IDENTIFIER ({ pkcs8_note_OID }),
23 parameters ANY OPTIONAL
24 }