public class RSAPublicKeyStructure extends ASN1Object
Constructor and Description |
---|
RSAPublicKeyStructure(ASN1Sequence seq)
Deprecated.
|
RSAPublicKeyStructure(java.math.BigInteger modulus,
java.math.BigInteger publicExponent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RSAPublicKeyStructure |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static RSAPublicKeyStructure |
getInstance(java.lang.Object obj)
Deprecated.
|
java.math.BigInteger |
getModulus()
Deprecated.
|
java.math.BigInteger |
getPublicExponent()
Deprecated.
|
ASN1Primitive |
toASN1Primitive()
Deprecated.
This outputs the key in PKCS1v2 format.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public RSAPublicKeyStructure(java.math.BigInteger modulus, java.math.BigInteger publicExponent)
public RSAPublicKeyStructure(ASN1Sequence seq)
public static RSAPublicKeyStructure getInstance(ASN1TaggedObject obj, boolean explicit)
public static RSAPublicKeyStructure getInstance(java.lang.Object obj)
public java.math.BigInteger getModulus()
public java.math.BigInteger getPublicExponent()
public ASN1Primitive toASN1Primitive()
RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER, -- e }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object