org.bouncycastle.asn1.x509
public class RSAPublicKeyStructure extends ASN1Encodable
Constructor Summary | |
---|---|
RSAPublicKeyStructure(BigInteger modulus, BigInteger publicExponent) | |
RSAPublicKeyStructure(ASN1Sequence seq) |
Method Summary | |
---|---|
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.
|
RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER, -- e }