java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.agree.GordianAgreementSpec

public final class GordianAgreementSpec extends Object
KeyPair Agreement Specification.
  • Constructor Details

  • Method Details

    • getKeyPairSpec

      public GordianKeyPairSpec getKeyPairSpec()
      Obtain the keyPairSpec.
      Returns:
      the keyPairSpec
    • getAgreementType

      public GordianAgreementType getAgreementType()
      Obtain the agreementType.
      Returns:
      the agreementType
    • getKDFType

      public GordianAgreementKDF getKDFType()
      Obtain the kdfType.
      Returns:
      the kdfType
    • withConfirm

      public Boolean withConfirm()
      Is this agreement with key confirmation?
      Returns:
      true/false
    • isSupported

      public boolean isSupported()
      Is this Agreement supported?
      Returns:
      true/false
    • isValid

      public boolean isValid()
      Is the agreementSpec valid?
      Returns:
      true/false.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object pThat)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object