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 -
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, getParamsMethods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyedMethods 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:
getSin interfaceECPrivateKey
-