Package org.cryptacular.adapter
Class WrappedECPublicKey
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedECKey<org.bouncycastle.crypto.params.ECPublicKeyParameters>
org.cryptacular.adapter.WrappedECPublicKey
- All Implemented Interfaces:
Serializable
,ECKey
,ECPublicKey
,Key
,PublicKey
public class WrappedECPublicKey
extends AbstractWrappedECKey<org.bouncycastle.crypto.params.ECPublicKeyParameters>
implements ECPublicKey
JCE/JDK EC public key that wraps the corresponding BC EC public key type,
ECPublicKeyParameters
.- Author:
- Middleware Services
- See Also:
-
Field Summary
Fields inherited from class org.cryptacular.adapter.AbstractWrappedKey
delegate, PKCS8_FORMAT, X509_FORMAT
Fields inherited from interface java.security.interfaces.ECPublicKey
serialVersionUID
Fields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedECPublicKey
(org.bouncycastle.crypto.params.ECPublicKeyParameters wrappedKey) Creates a new instance that wraps the given key. -
Method Summary
Methods inherited from class org.cryptacular.adapter.AbstractWrappedECKey
getAlgorithm, getParams
Methods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormat
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Constructor Details
-
WrappedECPublicKey
public WrappedECPublicKey(org.bouncycastle.crypto.params.ECPublicKeyParameters wrappedKey) Creates a new instance that wraps the given key.- Parameters:
wrappedKey
- EC key to wrap.
-
-
Method Details
-
getW
- Specified by:
getW
in interfaceECPublicKey
-