summaryrefslogtreecommitdiff
path: root/src/pkcs1.asn
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkcs1.asn')
-rw-r--r--src/pkcs1.asn64
1 files changed, 0 insertions, 64 deletions
diff --git a/src/pkcs1.asn b/src/pkcs1.asn
deleted file mode 100644
index d04dacabbc..0000000000
--- a/src/pkcs1.asn
+++ /dev/null
@@ -1,64 +0,0 @@
-PKCS-1 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) modules(0) pkcs-1(1)}
-
-DEFINITIONS EXPLICIT TAGS ::=
-
-BEGIN
-
-
--- Main structures
-
-RSAPublicKey ::= SEQUENCE {
- modulus INTEGER, -- n
- publicExponent INTEGER -- e
-}
-
---
--- Representation of RSA private key with information for the
--- CRT algorithm.
---
-RSAPrivateKey ::= SEQUENCE {
- version Version,
- modulus INTEGER, -- (Usually large) n
- publicExponent INTEGER, -- (Usually small) e
- privateExponent INTEGER, -- (Usually large) d
- prime1 INTEGER, -- (Usually large) p
- prime2 INTEGER, -- (Usually large) q
- exponent1 INTEGER, -- (Usually large) d mod (p-1)
- exponent2 INTEGER, -- (Usually large) d mod (q-1)
- coefficient INTEGER, -- (Usually large) (inverse of q) mod p
- otherPrimeInfos OtherPrimeInfos OPTIONAL
-}
-
-Version ::= INTEGER { two-prime(0), multi(1) }
--- (CONSTRAINED BY {-- version must be multi if otherPrimeInfos present --})
-
-OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo
-
-OtherPrimeInfo ::= SEQUENCE {
- prime INTEGER, -- ri
- exponent INTEGER, -- di
- coefficient INTEGER -- ti
-}
-
--- for signature calculation
--- added by nmav
-
-AlgorithmIdentifier ::= SEQUENCE {
- algorithm OBJECT IDENTIFIER,
- parameters ANY DEFINED BY algorithm OPTIONAL
-}
- -- contains a value of the type
- -- registered for use with the
- -- algorithm object identifier value
-
-DigestInfo ::= SEQUENCE {
- digestAlgorithm DigestAlgorithmIdentifier,
- digest Digest
-}
-
-DigestAlgorithmIdentifier ::= AlgorithmIdentifier
-
-Digest ::= OCTET STRING
-
-
-END \ No newline at end of file