public class IndexedECPublicKey extends AbstractIndexedKey<ECPublicKey> implements ECPublicKey
IndexedKey. The underlying key is an ECPublicKey.serialVersionUID| Constructor and Description |
|---|
IndexedECPublicKey(ECPublicKey key,
int index,
boolean active,
KeyType type)
Create the object with the given key, index, active state and type.
|
| Modifier and Type | Method and Description |
|---|---|
ECParameterSpec |
getParams()
Get the parameters of the key.
|
ECPoint |
getW()
Get the W value of this public elliptic curve key.
|
equals, getAlgorithm, getEncoded, getFormat, getIndex, getKey, getKeyType, isActive, setActiveclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithm, getEncoded, getFormatpublic IndexedECPublicKey(ECPublicKey key, int index, boolean active, KeyType type)
key - the actual public elliptic curve keyindex - the index of the keyactive - the active state of the keytype - the type of the keypublic ECParameterSpec getParams()
public ECPoint getW()
getW in interface ECPublicKeyCopyright © 2021. All rights reserved.