Java javax.crypto KeyAgreement fields, constructors, methods, implement or subclass

Example usage for Java javax.crypto KeyAgreement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.crypto KeyAgreement.

The text is from its open source code.

Method

KeydoPhase(Key key, boolean lastPhase)
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.
byte[]generateSecret()
Generates the shared secret and returns it in a new buffer.
SecretKeygenerateSecret(String algorithm)
Creates the shared secret and returns it as a SecretKey object of the specified algorithm.
KeyAgreementgetInstance(String algorithm, String provider)
Returns a KeyAgreement object that implements the specified key agreement algorithm.
KeyAgreementgetInstance(String algorithm, Provider provider)
Returns a KeyAgreement object that implements the specified key agreement algorithm.
KeyAgreementgetInstance(String algorithm)
Returns a KeyAgreement object that implements the specified key agreement algorithm.
voidinit(Key key)
Initializes this key agreement with the given key, which is required to contain all the algorithm parameters required for this key agreement.