public 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 and Description |
|---|
RSAPublicKey(ASN1ObjectIdentifier usage,
java.math.BigInteger modulus,
java.math.BigInteger exponent) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getModulus() |
java.math.BigInteger |
getPublicExponent() |
ASN1ObjectIdentifier |
getUsage() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
getInstanceequals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic 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