From a88ee830b55fc07e7bd0bd4dc778194dc6d97438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 13 Jan 2006 13:58:00 +0000 Subject: [PATCH] Add RSAPrivateKey. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16559 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/rfc2459.asn1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/asn1/rfc2459.asn1 b/lib/asn1/rfc2459.asn1 index 91abf4c09..9d6c9a08f 100644 --- a/lib/asn1/rfc2459.asn1 +++ b/lib/asn1/rfc2459.asn1 @@ -283,6 +283,18 @@ RSAPublicKey ::= SEQUENCE { 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 { digestAlgorithm AlgorithmIdentifier, digest OCTET STRING