Class GOST28147Parameters

    • Constructor Detail

    • Method Detail

      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
        Gost28147-89-Parameters ::= SEQUENCE { iv Gost28147-89-IV, encryptionParamSet OBJECT IDENTIFIER } Gost28147-89-IV ::= OCTET STRING (SIZE (8))
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.
      • getEncryptionParamSet

        public ASN1ObjectIdentifier getEncryptionParamSet()
        Return the OID representing the sBox to use.
        Returns:
        the sBox OID.
      • getIV

        public byte[] getIV()
        Return the initialisation vector to use.
        Returns:
        the IV.