CryptoServerKeyAgreement.
More...
Inherits KeyAgreementSpi.
|
|
| CryptoServerKeyAgreement (HSM hsm, String algorithm, int keyAgreementAlgo, int hashAlgo, boolean extraFlag) throws NoSuchAlgorithmException |
| |
|
void | engineInit (Key key, SecureRandom random) throws InvalidKeyException |
| |
|
void | engineInit (Key key, AlgorithmParameterSpec param, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException |
| |
|
Key | engineDoPhase (Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException |
| |
|
byte[] | engineGenerateSecret () throws IllegalStateException |
| |
|
int | engineGenerateSecret (byte[] sharedSecret, int offset) throws IllegalStateException, ShortBufferException |
| |
|
SecretKey | engineGenerateSecret (String algorithm) throws IllegalStateException, NoSuchAlgorithmException, InvalidKeyException |
| |