org.gudy.bouncycastle.asn1.misc
Class CAST5CBCParameters
java.lang.Object
org.gudy.bouncycastle.asn1.misc.CAST5CBCParameters
- All Implemented Interfaces:
- DEREncodable
public class CAST5CBCParameters
- extends Object
- implements DEREncodable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAST5CBCParameters
public CAST5CBCParameters(byte[] iv,
int keyLength)
CAST5CBCParameters
public CAST5CBCParameters(ASN1Sequence seq)
getInstance
public static CAST5CBCParameters getInstance(Object o)
getIV
public byte[] getIV()
getKeyLength
public int getKeyLength()
getDERObject
public DERObject getDERObject()
- Produce an object suitable for an ASN1OutputStream.
cast5CBCParameters ::= SEQUENCE {
iv OCTET STRING DEFAULT 0,
-- Initialization vector
keyLength INTEGER
-- Key length, in bits
}
- Specified by:
getDERObject
in interface DEREncodable