Package org.bouncycastle.asn1.misc
Class CAST5CBCParameters
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.misc.CAST5CBCParameters
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class CAST5CBCParameters extends ASN1Object
-
-
Constructor Summary
Constructors Constructor Description CAST5CBCParameters(byte[] iv, int keyLength)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CAST5CBCParameters
getInstance(java.lang.Object o)
byte[]
getIV()
int
getKeyLength()
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Method Detail
-
getInstance
public static CAST5CBCParameters getInstance(java.lang.Object o)
-
getIV
public byte[] getIV()
-
getKeyLength
public int getKeyLength()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.cast5CBCParameters ::= SEQUENCE { iv OCTET STRING DEFAULT 0, -- Initialization vector keyLength INTEGER -- Key length, in bits }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-