Class CAST5CBCParameters

    • Constructor Detail

      • CAST5CBCParameters

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

      • 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 interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.