Add RSAPrivateKey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16559 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -283,6 +283,18 @@ RSAPublicKey ::= SEQUENCE {
|
|||||||
publicExponent INTEGER -- e
|
publicExponent INTEGER -- e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RSAPrivateKey ::= SEQUENCE {
|
||||||
|
version INTEGER (0..4294967295),
|
||||||
|
modulus INTEGER, -- n
|
||||||
|
publicExponent INTEGER, -- e
|
||||||
|
privateExponent INTEGER, -- d
|
||||||
|
prime1 INTEGER, -- p
|
||||||
|
prime2 INTEGER, -- q
|
||||||
|
exponent1 INTEGER, -- d mod (p-1)
|
||||||
|
exponent2 INTEGER, -- d mod (q-1)
|
||||||
|
coefficient INTEGER -- (inverse of q) mod p
|
||||||
|
}
|
||||||
|
|
||||||
DigestInfo ::= SEQUENCE {
|
DigestInfo ::= SEQUENCE {
|
||||||
digestAlgorithm AlgorithmIdentifier,
|
digestAlgorithm AlgorithmIdentifier,
|
||||||
digest OCTET STRING
|
digest OCTET STRING
|
||||||
|
Reference in New Issue
Block a user