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.
|
getInstance
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public RSAPublicKey(ASN1ObjectIdentifier usage, java.math.BigInteger modulus, java.math.BigInteger exponent)
public ASN1ObjectIdentifier getUsage()
getUsage
in class PublicKeyDataObject
public java.math.BigInteger getModulus()
public java.math.BigInteger getPublicExponent()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object