ASN1Encodable, Encodablepublic class RSAPublicKey extends PublicKeyDataObject
Certificate Holder Authorization ::= SEQUENCE {
// modulus should be at least 1024bit and a multiple of 512.
DERTaggedObject modulus,
// access rights exponent
DERTaggedObject accessRights,
}
| Constructor | Description |
|---|---|
RSAPublicKey(ASN1ObjectIdentifier usage,
java.math.BigInteger modulus,
java.math.BigInteger exponent) |
| Modifier and Type | Method | Description |
|---|---|---|
java.math.BigInteger |
getModulus() |
|
java.math.BigInteger |
getPublicExponent() |
|
ASN1ObjectIdentifier |
getUsage() |
|
ASN1Primitive |
toASN1Primitive() |
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInstancepublic RSAPublicKey(ASN1ObjectIdentifier usage, java.math.BigInteger modulus, java.math.BigInteger exponent)
public ASN1ObjectIdentifier getUsage()
getUsage in class PublicKeyDataObjectpublic java.math.BigInteger getModulus()
public java.math.BigInteger getPublicExponent()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object