Class KeyAgreementSpi

    • Method Detail

      • engineDoPhase

        protected java.security.Key engineDoPhase​(java.security.Key key,
                                                  boolean lastPhase)
                                           throws java.security.InvalidKeyException,
                                                  java.lang.IllegalStateException
        Specified by:
        engineDoPhase in class javax.crypto.KeyAgreementSpi
        Throws:
        java.security.InvalidKeyException
        java.lang.IllegalStateException
      • doInitFromKey

        protected void doInitFromKey​(java.security.Key key,
                                     java.security.spec.AlgorithmParameterSpec parameterSpec,
                                     java.security.SecureRandom random)
                              throws java.security.InvalidKeyException,
                                     java.security.InvalidAlgorithmParameterException
        Specified by:
        doInitFromKey in class BaseAgreementSpi
        Throws:
        java.security.InvalidKeyException
        java.security.InvalidAlgorithmParameterException