]> git.saurik.com Git - apple/security.git/blame - SecurityASN1/asn/pkcs8.asn
Security-54.1.9.tar.gz
[apple/security.git] / SecurityASN1 / asn / pkcs8.asn
CommitLineData
bac41a7b
A
1PrivateKeyInformationSyntax
2-- PKCS#8 ASN.1
3DEFINITIONS IMPLICIT TAGS ::=
4BEGIN
5-- EXPORTS All --
6IMPORTS
7 AlgorithmIdentifier
8 FROM AuthenticationFramework { authenticationFramework }
9 Attributes
10 FROM InformationFramework { informationFramework }
11 EncryptedKey
12 FROM CryptographicMessageSyntax
13;
14
15PrivateKeyInfo ::= 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
27PrivateKey ::= OCTET STRING
28
29
30EncryptedPrivateKeyInfo ::= SEQUENCE {
31 encryptionAlgorithm AlgorithmIdentifier,
32 encryptedKey EncryptedKey }
33
34
35-- EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
36
37-- EncryptedKey ::= OCTET STRING
38
39END -- PrivateKeyInformationSyntax
40