ASN1Encodable
, Encodable
public class RSAPublicKeyStructure extends ASN1Object
Constructor | Description |
---|---|
RSAPublicKeyStructure(java.math.BigInteger modulus,
java.math.BigInteger publicExponent) |
Deprecated.
|
RSAPublicKeyStructure(ASN1Sequence seq) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static RSAPublicKeyStructure |
getInstance(java.lang.Object obj) |
Deprecated.
|
static RSAPublicKeyStructure |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
Deprecated.
|
java.math.BigInteger |
getModulus() |
Deprecated.
|
java.math.BigInteger |
getPublicExponent() |
Deprecated.
|
ASN1Primitive |
toASN1Primitive() |
Deprecated.
This outputs the key in PKCS1v2 format.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
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