Name
Class javax.crypto.KeyAgreementSpi
Synopsis
This is the Security Provider Interface class for the
KeyAgreement
class. If you want to implement a
key agreement algorithm, create a subclass of this class and register
it with an appropriate security provider.
Class Definition
public abstract class javax.crypto.KeyAgreementSpi extends java.lang.Object { // Constructors public KeyAgreementSpi(); // Protected Instance Methods protected abstract Key engineDoPhase(Key, boolean); protected abstract byte[] engineGenerateSecret(); protected abstract int engineGenerateSecret(byte[], int); protected abstract void engineInit(Key, SecureRandom); protected abstract void engineInit(Key, AlgorithmParameterSpec, SecureRandom); }
See also:
AlgorithmParameterSpec
, Key
, KeyAgreement
, SecureRandom
Get Java Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.