]> git.saurik.com Git - apple/security.git/blob - libsecurity_asn1/asn1/pkcs1oids.asn
Security-55163.44.tar.gz
[apple/security.git] / libsecurity_asn1 / asn1 / pkcs1oids.asn
1 PKCS1-OIDS
2 DEFINITIONS IMPLICIT TAGS ::=
3 BEGIN
4 -- EXPORTS All --
5
6 IMPORTS
7 BigIntegerStr
8 FROM VdaEnhancedTypes
9 ;
10
11 rsadsi OBJECT IDENTIFIER ::= { 1 2 840 113549 }
12 pkcs OBJECT IDENTIFIER ::= { rsadsi 1 }
13
14 pkcs-1 OBJECT IDENTIFIER ::= { pkcs 1 }
15 rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }
16 md2WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 2 }
17 md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 }
18 md5WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 4 }
19 sha1withRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 5 } -- dmitch
20
21 rsaDigestAlgorithm OBJECT IDENTIFIER ::= { rsadsi 2 }
22 md2 OBJECT IDENTIFIER ::= { rsaDigestAlgorithm 2 }
23 md4 OBJECT IDENTIFIER ::= { rsaDigestAlgorithm 4 }
24 md5 OBJECT IDENTIFIER ::= { rsaDigestAlgorithm 5 }
25
26 RSAPublicKey ::= SEQUENCE {
27 modulus BigIntegerStr, -- n
28 publicExponent BigIntegerStr -- e
29 }
30
31 RSAPrivateKey ::= SEQUENCE {
32 version INTEGER, -- Version,
33 modulus BigIntegerStr, -- n
34 publicExponent BigIntegerStr, -- e
35 privateExponent BigIntegerStr, -- d
36 prime1 BigIntegerStr, -- p
37 prime2 BigIntegerStr, -- q
38 exponent1 BigIntegerStr, -- d mod (p-1)
39 exponent2 BigIntegerStr, -- d mod (q-1)
40 coefficient BigIntegerStr -- (inverse of q) mod p
41 }
42
43 -- Version ::= INTEGER
44
45 END -- PKCS1-OIDS
46