gnu.crypto.jce.params
public class BlockCipherParameters extends AlgorithmParametersSpi
Version: $Revision: 1.3 $
Field Summary | |
---|---|
protected BlockCipherParameterSpec | cipherSpec
The underlying block cipher specification. |
Method Summary | |
---|---|
protected byte[] | engineGetEncoded()
Return these parameters encoded in ASN.1 (DER).
|
protected byte[] | engineGetEncoded(String format) |
protected AlgorithmParameterSpec | engineGetParameterSpec(Class c) |
protected void | engineInit(AlgorithmParameterSpec spec) |
protected void | engineInit(byte[] encoded, String format) |
protected void | engineInit(byte[] encoded) |
protected String | engineToString() |
For GNU Crypto block ciphers we will define these parameters as
BlockCipherParameters ::= SEQUENCE { blockSize INTEGER, keySize INTEGER, initializationVector OCTET STRING OPTIONAL }
Returns: The parameters, encoded an an ASN.1 DER sequence.
Throws: java.io.IOException If encoding these parameters fails.