Class XDH

  • All Implemented Interfaces:
    KeyType

    public final class XDH
    extends java.lang.Object
    implements KeyType
    • Method Detail

      • fromSpec

        public static XDH fromSpec​(XDHSpec spec)
      • getName

        public java.lang.String getName()
        Description copied from interface: KeyType
        Return the encryption algorithm name.
        Specified by:
        getName in interface KeyType
        Returns:
        algorithm name.
      • getBitStrength

        public int getBitStrength()
        Description copied from interface: KeyType
        Return the strength of the key in bits.
        Specified by:
        getBitStrength in interface KeyType
        Returns:
        strength of the key in bits
      • getAlgorithmSpec

        public java.security.spec.AlgorithmParameterSpec getAlgorithmSpec()
        Description copied from interface: KeyType
        Return an implementation of AlgorithmParameterSpec that can be used to generate the key.
        Specified by:
        getAlgorithmSpec in interface KeyType
        Returns:
        algorithm parameter spec