Class XDHParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec

    public class XDHParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    ParameterSpec for XDH key agreement algorithms.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String X25519  
      static java.lang.String X448  
    • Constructor Summary

      Constructors 
      Constructor Description
      XDHParameterSpec​(java.lang.String curveName)
      Base constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCurveName()
      Return the curve name specified by this parameterSpec.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XDHParameterSpec

        public XDHParameterSpec​(java.lang.String curveName)
        Base constructor.
        Parameters:
        curveName - name of the curve to specify.
    • Method Detail

      • getCurveName

        public java.lang.String getCurveName()
        Return the curve name specified by this parameterSpec.
        Returns:
        the name of the curve this parameterSpec specifies.