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(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
java.math.BigInteger modulus,
java.math.BigInteger exponent) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getModulus() |
java.math.BigInteger |
getPublicExponent() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getUsage() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getInstancepublic RSAPublicKey(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
java.math.BigInteger modulus,
java.math.BigInteger exponent)
public org.bouncycastle.asn1.ASN1ObjectIdentifier getUsage()
getUsage in class PublicKeyDataObjectpublic java.math.BigInteger getModulus()
public java.math.BigInteger getPublicExponent()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object