|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.RSAPublicKeyStructure
public class RSAPublicKeyStructure
| Field Summary |
|---|
| Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable |
|---|
BER, DER |
| Constructor Summary | |
|---|---|
RSAPublicKeyStructure(ASN1Sequence seq)
|
|
RSAPublicKeyStructure(BigInteger modulus,
BigInteger publicExponent)
|
|
| 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. |
| Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable |
|---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RSAPublicKeyStructure(BigInteger modulus,
BigInteger publicExponent)
public RSAPublicKeyStructure(ASN1Sequence seq)
| Method Detail |
|---|
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 ASN1Encodable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||