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