public final class AsymmetricECPublicKey extends AsymmetricECKey implements AsymmetricPublicKey
algorithm, domainParameters
Constructor and Description |
---|
AsymmetricECPublicKey(Algorithm ecAlg,
byte[] publicKeyInfoEncoding) |
AsymmetricECPublicKey(Algorithm ecAlg,
ECDomainParameters domainParameters,
byte[] encodedPoint) |
AsymmetricECPublicKey(Algorithm ecAlg,
ECDomainParameters domainParameters,
ECPoint q) |
AsymmetricECPublicKey(Algorithm ecAlg,
ECDomainParametersID domainParameterID,
byte[] encodedPoint) |
AsymmetricECPublicKey(Algorithm ecAlg,
ECDomainParametersID domainParameterID,
ECPoint q) |
AsymmetricECPublicKey(Algorithm ecAlg,
SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Return true if o is an equivalent key to this.
|
byte[] |
getEncoded()
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
|
ECPoint |
getW() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParameters, zeroize
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public AsymmetricECPublicKey(Algorithm ecAlg, ECDomainParametersID domainParameterID, byte[] encodedPoint)
public AsymmetricECPublicKey(Algorithm ecAlg, ECDomainParameters domainParameters, byte[] encodedPoint)
public AsymmetricECPublicKey(Algorithm ecAlg, ECDomainParametersID domainParameterID, ECPoint q)
public AsymmetricECPublicKey(Algorithm ecAlg, ECDomainParameters domainParameters, ECPoint q)
public AsymmetricECPublicKey(Algorithm ecAlg, byte[] publicKeyInfoEncoding)
public AsymmetricECPublicKey(Algorithm ecAlg, SubjectPublicKeyInfo publicKeyInfo)
public byte[] getEncoded()
AsymmetricKey
getEncoded
in interface AsymmetricKey
public ECPoint getW()
public boolean equals(java.lang.Object o)
Key