public class RSAPrivateKeyStructure extends ASN1Object
| Constructor and Description |
|---|
RSAPrivateKeyStructure(ASN1Sequence seq)
Deprecated.
|
RSAPrivateKeyStructure(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger prime1,
java.math.BigInteger prime2,
java.math.BigInteger exponent1,
java.math.BigInteger exponent2,
java.math.BigInteger coefficient)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getCoefficient()
Deprecated.
|
java.math.BigInteger |
getExponent1()
Deprecated.
|
java.math.BigInteger |
getExponent2()
Deprecated.
|
static RSAPrivateKeyStructure |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static RSAPrivateKeyStructure |
getInstance(java.lang.Object obj)
Deprecated.
|
java.math.BigInteger |
getModulus()
Deprecated.
|
java.math.BigInteger |
getPrime1()
Deprecated.
|
java.math.BigInteger |
getPrime2()
Deprecated.
|
java.math.BigInteger |
getPrivateExponent()
Deprecated.
|
java.math.BigInteger |
getPublicExponent()
Deprecated.
|
int |
getVersion()
Deprecated.
|
ASN1Primitive |
toASN1Primitive()
Deprecated.
This outputs the key in PKCS1v2 format.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic RSAPrivateKeyStructure(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger prime1,
java.math.BigInteger prime2,
java.math.BigInteger exponent1,
java.math.BigInteger exponent2,
java.math.BigInteger coefficient)
public RSAPrivateKeyStructure(ASN1Sequence seq)
public static RSAPrivateKeyStructure getInstance(ASN1TaggedObject obj, boolean explicit)
public static RSAPrivateKeyStructure getInstance(java.lang.Object obj)
public int getVersion()
public java.math.BigInteger getModulus()
public java.math.BigInteger getPublicExponent()
public java.math.BigInteger getPrivateExponent()
public java.math.BigInteger getPrime1()
public java.math.BigInteger getPrime2()
public java.math.BigInteger getExponent1()
public java.math.BigInteger getExponent2()
public java.math.BigInteger getCoefficient()
public ASN1Primitive toASN1Primitive()
This routine is written to output PKCS1 version 2.1, private keys.
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object