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:
  • Constructor Details

    • AbstractWrappedECKey

      public AbstractWrappedECKey(T wrappedKey)
      Creates a new instance that wraps the given key.
      Parameters:
      wrappedKey - Key to wrap.
  • Method Details

    • getParams

      public ECParameterSpec getParams()
      Returns:
      EC domain parameters.
    • getAlgorithm

      public String getAlgorithm()