~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/ssl/pkix/PKCS-1.asn1

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
PKCS-1 {
2
 
    iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1)
3
 
    modules(0) pkcs-1(1)
4
 
}
5
 
 
6
 
 
7
 
DEFINITIONS IMPLICIT TAGS ::= BEGIN
8
 
 
9
 
 
10
 
IMPORTS
11
 
  AlgorithmIdentifier
12
 
    FROM PKIX1Explicit88 {iso(1) identified-organization(3)
13
 
                          dod(6) internet(1) security(5) mechanisms(5)
14
 
                          pkix(7) id-mod(0) id-pkix1-explicit-88(1)} ;
15
 
 
16
 
pkcs-1    OBJECT IDENTIFIER ::= {
17
 
    iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 }
18
 
 
19
 
RSAPrivateKey ::= SEQUENCE {
20
 
    version           Version,
21
 
    modulus           INTEGER,  -- n
22
 
    publicExponent    INTEGER,  -- e
23
 
    privateExponent   INTEGER,  -- d
24
 
    prime1            INTEGER,  -- p
25
 
    prime2            INTEGER,  -- q
26
 
    exponent1         INTEGER,  -- d mod (p-1)
27
 
    exponent2         INTEGER,  -- d mod (q-1)
28
 
    coefficient       INTEGER,  -- (inverse of q) mod p
29
 
    otherPrimeInfos   OtherPrimeInfos OPTIONAL
30
 
}
31
 
 
32
 
Version ::= INTEGER { two-prime(0), multi(1) }
33
 
     (CONSTRAINED BY {
34
 
         -- version must be multi if otherPrimeInfos present --
35
 
     })
36
 
 
37
 
OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo
38
 
 
39
 
OtherPrimeInfo ::= SEQUENCE {
40
 
    prime             INTEGER,  -- ri
41
 
    exponent          INTEGER,  -- di
42
 
    coefficient       INTEGER   -- ti
43
 
}
44
 
 
45
 
DigestInfo ::= SEQUENCE {
46
 
        digestAlgorithm DigestAlgorithmIdentifier,
47
 
        digest OCTET STRING
48
 
}
49
 
 
50
 
DigestAlgorithmIdentifier ::= AlgorithmIdentifier
51
 
 
52
 
END  -- PKCS1Definitions
53