Package org.cryptacular.adapter
Class WrappedECPrivateKey
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedECKey<org.bouncycastle.crypto.params.ECPrivateKeyParameters>
org.cryptacular.adapter.WrappedECPrivateKey
- All Implemented Interfaces:
Serializable
,ECKey
,ECPrivateKey
,Key
,PrivateKey
,Destroyable
public class WrappedECPrivateKey
extends AbstractWrappedECKey<org.bouncycastle.crypto.params.ECPrivateKeyParameters>
implements ECPrivateKey
JCE/JDK EC private key that wraps the corresponding BC EC private key type,
ECPrivateKeyParameters
.- 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.ECPrivateKey
serialVersionUID
Fields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedECPrivateKey
(org.bouncycastle.crypto.params.ECPrivateKeyParameters 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 javax.security.auth.Destroyable
destroy, isDestroyed
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Constructor Details
-
WrappedECPrivateKey
public WrappedECPrivateKey(org.bouncycastle.crypto.params.ECPrivateKeyParameters wrappedKey) Creates a new instance that wraps the given key.- Parameters:
wrappedKey
- EC key to wrap.
-
-
Method Details
-
getS
- Specified by:
getS
in interfaceECPrivateKey
-