Interface ICryptingDelegateFactory

All Known Implementing Classes:
DefaultCryptingDelegateFactory

public interface ICryptingDelegateFactory
Interface for factories creating crypting delegates.
Author:
ralph
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAlgorithm()
    Returns the algorithm.
    ICryptingDelegate getCryptingDelegate()
    Returns a crypting delegate.
    java.security.KeyPair getKeyPair()
    Returns the key.
    java.security.spec.AlgorithmParameterSpec getParamSpec()
    Returns the paramSpec.
    char[] getPassphrase()
    Alternatively provide a passphrase for encryption usage.
    byte[] getSalt()
    Provide a salt for encryption usage.
  • Method Details

    • getCryptingDelegate

      ICryptingDelegate getCryptingDelegate()
      Returns a crypting delegate.
      Returns:
      a delegate
    • getKeyPair

      java.security.KeyPair getKeyPair()
      Returns the key.
      Returns:
      the key
    • getAlgorithm

      java.lang.String getAlgorithm()
      Returns the algorithm.
      Returns:
      the algorithm
    • getParamSpec

      java.security.spec.AlgorithmParameterSpec getParamSpec()
      Returns the paramSpec.
      Returns:
      the paramSpec
    • getPassphrase

      char[] getPassphrase()
      Alternatively provide a passphrase for encryption usage.
      Returns:
      passphrase
    • getSalt

      byte[] getSalt()
      Provide a salt for encryption usage.
      Returns:
      salt