public final class AsymmetricRSAPublicKey extends AsymmetricRSAKey implements AsymmetricPublicKey
AsymmetricRSAKey.Usage
DEF_ALG_ID, modulus, 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, zeroize
clone, getClass, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public 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()
AsymmetricKey
getEncoded
in interface AsymmetricKey
public boolean equals(java.lang.Object o)
Key
public int hashCode()
Key
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable