hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--
-- This is the unencrypted variant
--
PrivateKeyInfo ::= SEQUENCE {
   version            Version,
   privateKeyAlgorithm    PrivateKeyAlgorithmIdentifier,
   privateKey        PrivateKey,
   attributes        [0] IMPLICIT Attributes OPTIONAL
}
 
Version ::= INTEGER  ({ pkcs8_note_version })
 
PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier ({ pkcs8_note_algo })
 
PrivateKey ::= OCTET STRING ({ pkcs8_note_key })
 
Attributes ::= SET OF Attribute
 
Attribute ::= ANY
 
AlgorithmIdentifier ::= SEQUENCE {
   algorithm   OBJECT IDENTIFIER ({ pkcs8_note_OID }),
   parameters  ANY OPTIONAL
}