public final class AsymmetricLMSPublicKey extends AsymmetricLMSKey implements AsymmetricPublicKey
L| Constructor and Description |
|---|
AsymmetricLMSPublicKey(byte[] encoding)
Construct a key from an encoding of a SubjectPublicKeyInfo.
|
AsymmetricLMSPublicKey(int levels,
byte[] keyData) |
AsymmetricLMSPublicKey(SubjectPublicKeyInfo info) |
| 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.
|
protected java.lang.Object |
getInternalKey() |
byte[] |
getPublicData() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getL, isThreadCorrectMode, zeroizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricLMSPublicKey(int levels,
byte[] keyData)
public AsymmetricLMSPublicKey(byte[] encoding)
throws java.io.IOException
encoding - the DER encoding of the key.java.io.IOExceptionpublic AsymmetricLMSPublicKey(SubjectPublicKeyInfo info) throws java.io.IOException
java.io.IOExceptionpublic byte[] getPublicData()
public byte[] getEncoded()
AsymmetricKeygetEncoded in interface AsymmetricKeyprotected java.lang.Object getInternalKey()
getInternalKey in class LMS.KeyCachepublic boolean equals(java.lang.Object o)
Key