19
19
RSAPrivateKey ::= SEQUENCE {
21
modulus INTEGER, -- (Usually large) n
22
publicExponent INTEGER, -- (Usually small) e
23
privateExponent INTEGER, -- (Usually large) d
24
prime1 INTEGER, -- (Usually large) p
25
prime2 INTEGER, -- (Usually large) q
26
exponent1 INTEGER, -- (Usually large) d mod (p-1)
27
exponent2 INTEGER, -- (Usually large) d mod (q-1)
28
coefficient INTEGER, -- (Usually large) (inverse of q) mod p
29
otherPrimeInfos OtherPrimeInfos OPTIONAL
21
modulus INTEGER, -- (Usually large) n
22
publicExponent INTEGER, -- (Usually small) e
23
privateExponent INTEGER, -- (Usually large) d
24
prime1 INTEGER, -- (Usually large) p
25
prime2 INTEGER, -- (Usually large) q
26
exponent1 INTEGER, -- (Usually large) d mod (p-1)
27
exponent2 INTEGER, -- (Usually large) d mod (q-1)
28
coefficient INTEGER, -- (Usually large) (inverse of q) mod p
29
otherPrimeInfos OtherPrimeInfos OPTIONAL
32
32
Version ::= INTEGER { two-prime(0), multi(1) }
33
-- (CONSTRAINED BY { version must be multi if otherPrimeInfos present }) --
33
-- (CONSTRAINED BY { version must be multi if otherPrimeInfos present }) --
35
35
OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo
37
37
OtherPrimeInfo ::= SEQUENCE {
39
exponent INTEGER, -- di
40
coefficient INTEGER -- ti
39
exponent INTEGER, -- di
40
coefficient INTEGER -- ti
43
43
-- for signature calculation
76
76
DSAPrivateKey ::= SEQUENCE {
77
version INTEGER, -- should be zero
77
version INTEGER, -- should be zero
86
86
DHParameter ::= SEQUENCE {
89
privateValueLength INTEGER OPTIONAL
89
privateValueLength INTEGER OPTIONAL