]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_asn1/asn1/pkcs7.asn
Security-59306.61.1.tar.gz
[apple/security.git] / OSX / libsecurity_asn1 / asn1 / pkcs7.asn
1 PKCS7
2
3 -- ??? {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-7(7)
4 -- modules(0) pkcs-7(1)}
5
6 DEFINITIONS EXPLICIT TAGS ::=
7 BEGIN
8
9 --
10 -- 3. Definitions
11 --
12
13 -- EXPORTS All;
14
15 IMPORTS
16
17 informationFramework, authenticationFramework
18 FROM UsefulDefinitions { usefulDefinitions }
19
20 AlgorithmIdentifier
21 FROM AuthenticationFramework { authenticationFramework }
22
23 ;
24
25 -- *** A large amount of stuff we don't need right now deleted ***
26
27 --
28 -- 13. Encrypted-data content type
29 --
30
31 EncryptedData ::= SEQUENCE {
32 version INTEGER {edVer0(0)} (edVer0),
33 encryptedContentInfo EncryptedContentInfo
34 }
35
36 EncryptedContentInfo ::= SEQUENCE {
37 contentType ContentType,
38 contentEncryptionAlgorithm
39 ContentEncryptionAlgorithmIdentifier,
40 encryptedContent
41 [0] IMPLICIT EncryptedContent OPTIONAL
42 }
43
44 ContentType ::= OBJECT IDENTIFIER
45
46 EncryptedContent ::= OCTET STRING
47
48 ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
49
50 --
51 -- 14. Object Identifiers
52 --
53
54 pkcs-7 OBJECT IDENTIFIER ::=
55 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 7 }
56 dataPkcs7 OBJECT IDENTIFIER ::= { pkcs-7 1 }
57 signedData OBJECT IDENTIFIER ::= { pkcs-7 2 }
58 envelopedData OBJECT IDENTIFIER ::= { pkcs-7 3 }
59 signedAndEnvelopedData OBJECT IDENTIFIER ::= { pkcs-7 4 }
60 digestedData OBJECT IDENTIFIER ::= { pkcs-7 5 }
61 encryptedData OBJECT IDENTIFIER ::= { pkcs-7 6 }
62
63 END