Class GOST28147ParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec
    Direct Known Subclasses:
    GOST28147ParameterSpec

    public class GOST28147ParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    A parameter spec for the GOST-28147 cipher.
    • Constructor Detail

      • GOST28147ParameterSpec

        public GOST28147ParameterSpec​(byte[] sBox)
      • GOST28147ParameterSpec

        public GOST28147ParameterSpec​(byte[] sBox,
                                      byte[] iv)
      • GOST28147ParameterSpec

        public GOST28147ParameterSpec​(java.lang.String sBoxName)
      • GOST28147ParameterSpec

        public GOST28147ParameterSpec​(java.lang.String sBoxName,
                                      byte[] iv)
      • GOST28147ParameterSpec

        public GOST28147ParameterSpec​(ASN1ObjectIdentifier sBoxName,
                                      byte[] iv)
    • Method Detail

      • getSbox

        public byte[] getSbox()
        Deprecated.
        use getSBox()
      • getSBox

        public byte[] getSBox()
      • getIV

        public byte[] getIV()
        Returns the IV or null if this parameter set does not contain an IV.
        Returns:
        the IV or null if this parameter set does not contain an IV.