public class RSAPublicKeyStructure extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
RSAPublicKeyStructure(ASN1Sequence seq) |
RSAPublicKeyStructure(BigInteger modulus,
BigInteger publicExponent) |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKeyStructure |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static RSAPublicKeyStructure |
getInstance(Object obj) |
BigInteger |
getModulus() |
BigInteger |
getPublicExponent() |
DERObject |
toASN1Object()
This outputs the key in PKCS1v2 format.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic RSAPublicKeyStructure(BigInteger modulus, BigInteger publicExponent)
public RSAPublicKeyStructure(ASN1Sequence seq)
public static RSAPublicKeyStructure getInstance(ASN1TaggedObject obj, boolean explicit)
public static RSAPublicKeyStructure getInstance(Object obj)
public BigInteger getModulus()
public BigInteger getPublicExponent()
public DERObject toASN1Object()
RSAPublicKey ::= SEQUENCE {
modulus INTEGER, -- n
publicExponent INTEGER, -- e
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.