public final class AsymmetricRSAPublicKey extends AsymmetricRSAKey implements AsymmetricPublicKey
AsymmetricRSAKey.UsageDEF_ALG_ID, rsaAlgIdentifier| Constructor and Description |
|---|
AsymmetricRSAPublicKey(Algorithm algorithm,
java.math.BigInteger modulus,
java.math.BigInteger publicExponent) |
AsymmetricRSAPublicKey(Algorithm algorithm,
byte[] publicKeyInfoEncoding) |
AsymmetricRSAPublicKey(Algorithm algorithm,
SubjectPublicKeyInfo publicKeyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Return true if o is an equivalent key to this.
|
protected void |
finalize() |
byte[] |
getEncoded()
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
|
java.math.BigInteger |
getPublicExponent() |
int |
hashCode()
Return the hashCode for the key.
|
canBeUsed, checkApprovedOnlyModeStatus, getAlgorithm, getModulus, zeroizeclone, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricRSAPublicKey(Algorithm algorithm, java.math.BigInteger modulus, java.math.BigInteger publicExponent)
public AsymmetricRSAPublicKey(Algorithm algorithm, byte[] publicKeyInfoEncoding)
public AsymmetricRSAPublicKey(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo)
public java.math.BigInteger getPublicExponent()
public byte[] getEncoded()
AsymmetricKeygetEncoded in interface AsymmetricKeypublic boolean equals(java.lang.Object o)
Keypublic int hashCode()
Keyprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable