Package org.cryptacular.adapter
Class AbstractWrappedECKey<T extends org.bouncycastle.crypto.params.ECKeyParameters>
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedECKey<T>
- Type Parameters:
T- EC key parameters type.
- All Implemented Interfaces:
Serializable,Key
- Direct Known Subclasses:
WrappedECPrivateKey,WrappedECPublicKey
public abstract class AbstractWrappedECKey<T extends org.bouncycastle.crypto.params.ECKeyParameters>
extends AbstractWrappedKey<T>
Base class for wrapped EC keys.
- Author:
- Middleware Services
- See Also:
-
Field Summary
Fields inherited from class org.cryptacular.adapter.AbstractWrappedKey
delegate, PKCS8_FORMAT, X509_FORMATFields inherited from interface java.security.Key
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionAbstractWrappedECKey(T wrappedKey) Creates a new instance that wraps the given key. -
Method Summary
Methods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormat
-
Constructor Details
-
AbstractWrappedECKey
Creates a new instance that wraps the given key.- Parameters:
wrappedKey- Key to wrap.
-
-
Method Details
-
getParams
- Returns:
- EC domain parameters.
-
getAlgorithm
-