h37377 s 00000/00000/00200 d D 1.2 97/12/09 15:24:47 luehe 3 1 c rm ,* e s 00000/00000/00000 d R 1.2 97/12/09 15:23:24 Codemgr 2 1 c SunPro Code Manager data about conflicts, renames, etc... c Name history : 1 0 security/JCE1.2/earlyaccess/javax.crypto.KeyAgreementSpi.html e s 00200/00000/00000 d D 1.1 97/12/09 15:23:23 luehe 1 0 c date and time created 97/12/09 15:23:23 by luehe e u U f e 0 t T I 1
All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----javax.crypto.KeyAgreementSpi
KeyPairGenerator or
KeyGenerator), a KeyFactory, or as a result from
an intermediate phase of the key agreement protocol (see doPhase).
phase of the key
agreement protocol, using the provided key key.
sharedSecret, beginning at offset.
random.
public KeyAgreementSpi()
protected abstract void engineInit(SecureRandom random)
random.
protected abstract void engineInit(AlgorithmParameterSpec params,
SecureRandom random) throws InvalidAlgorithmParameterException
protected abstract Key engineDoPhase(int phase,
Key key) throws IllegalStateException, InvalidKeyException
phase of the key
agreement protocol, using the provided key key.
phase, or null if
phase does not yield a key
phase is
inappropriate for this key agreement protocol, or does not correspond to
the next phase in the protocol sequence
phase
protected abstract byte[] engineGenerateSecret() throws IllegalStateException
The key agreement is reset to its initial state after this call.
protected abstract int engineGenerateSecret(byte sharedSecret[],
int offset) throws IllegalStateException, ShortBufferException
sharedSecret, beginning at offset.
If the sharedSecret buffer is too small to hold the
result, a ShortBufferException is thrown.
In this case, this call should be repeated with a larger output buffer.
After this call has completed successfully, this
KeyAgreement is reset to its initial state
(uninitialized), and can be re-used for further key agreements.
sharedSecret where the
shared secret will be stored
sharedSecret
All Packages Class Hierarchy This Package Previous Next IndexE 1