public final class AsymmetricECPublicKey extends AsymmetricECKey implements AsymmetricPublicKey
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.
|
byte[] |
getEncoded(boolean withPointCompression) |
ECPoint |
getW() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParameters, isThreadCorrectMode, zeroizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic 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()
AsymmetricKeygetEncoded in interface AsymmetricKeypublic byte[] getEncoded(boolean withPointCompression)
public ECPoint getW()
public boolean equals(java.lang.Object o)
Key