Methods Summary |
---|
protected byte[] | engineGenExemptionBlob()
return new byte[byteArrayLength];
|
protected int | engineGenExemptionBlob(byte[] output, int outputOffset)
return byteArrayLength;
|
protected int | engineGetOutputSize(int inputLen)
return 10;
|
protected void | engineInit(java.security.Key key)
if (key == null) {
throw new InvalidKeyException("key is null");
}
if (!(key instanceof tmpKey)) {
throw new ExemptionMechanismException("Incorrect key");
}
|
protected void | engineInit(java.security.Key key, java.security.AlgorithmParameters params)
if (key == null) {
throw new InvalidKeyException("key is null");
}
if (!(key instanceof tmpKey)) {
throw new ExemptionMechanismException("Incorrect key");
}
if (params == null) {
throw new InvalidAlgorithmParameterException("params is null");
}
|
protected void | engineInit(java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
if (key == null) {
throw new InvalidKeyException("key is null");
}
if (!(key instanceof tmpKey)) {
throw new ExemptionMechanismException("Incorrect key");
}
if (params == null) {
throw new InvalidAlgorithmParameterException("params is null");
}
|
public static final int | getLength()
return byteArrayLength;
|