util

Classes

Base64Url
BaseError
Pem

Members

(inner, constant) RsaPrivateKey :asn1.Entity

ASN.1 schema for RSA private key.

From RFC 3447, section A.1.2.

RSAPrivateKey ::= SEQUENCE { version Version, 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 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 }

Type:
  • asn1.Entity
Source:

(inner, constant) RsaPublicKey :asn1.Entity

ASN.1 schema for RSA public key.

From RFC 3447, section A.1.1.

RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER -- e }

Type:
  • asn1.Entity
Source:

Classes

Base64Url
BaseError
Pem

Members

(inner, constant) RsaPrivateKey :asn1.Entity

ASN.1 schema for RSA private key.

From RFC 3447, section A.1.2.

RSAPrivateKey ::= SEQUENCE { version Version, 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 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 }

Type:
  • asn1.Entity
Source:

(inner, constant) RsaPublicKey :asn1.Entity

ASN.1 schema for RSA public key.

From RFC 3447, section A.1.1.

RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER -- e }

Type:
  • asn1.Entity
Source:

Classes

Base64Url
BaseError
Pem

Members

(inner, constant) RsaPrivateKey :asn1.Entity

ASN.1 schema for RSA private key.

From RFC 3447, section A.1.2.

RSAPrivateKey ::= SEQUENCE { version Version, 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 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 }

Type:
  • asn1.Entity
Source:

(inner, constant) RsaPublicKey :asn1.Entity

ASN.1 schema for RSA public key.

From RFC 3447, section A.1.1.

RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER -- e }

Type:
  • asn1.Entity
Source: