Class CAST5CBCParameters

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.misc.CAST5CBCParameters
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class CAST5CBCParameters extends org.bouncycastle.asn1.ASN1Object
  • Constructor Details

    • CAST5CBCParameters

      public CAST5CBCParameters(byte[] iv, int keyLength)
  • Method Details

    • getInstance

      public static CAST5CBCParameters getInstance(Object o)
    • getIV

      public byte[] getIV()
    • getKeyLength

      public int getKeyLength()
    • toASN1Primitive

      public org.bouncycastle.asn1.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 interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object