Methods Summary |
---|
protected java.security.Key | engineDoPhase(java.security.Key key, boolean lastPhase)
if (!lastPhase) {
throw new IllegalStateException("last Phase is false");
}
return null;
|
protected byte[] | engineGenerateSecret()
return new byte[0];
|
protected int | engineGenerateSecret(byte[] sharedSecret, int offset)
return -1;
|
protected javax.crypto.SecretKey | engineGenerateSecret(java.lang.String algorithm)
if (algorithm.length() == 0) {
throw new NoSuchAlgorithmException("Algorithm is empty");
}
return null;
|
protected void | engineInit(java.security.Key key, java.security.SecureRandom random)
throw new IllegalArgumentException("Invalid parameter");
|
protected void | engineInit(java.security.Key key, java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
throw new IllegalArgumentException("Invalid parameter");
|