Class DSTU4145PrivateKeySpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class DSTU4145PrivateKeySpec
    extends java.lang.Object
    implements java.security.spec.KeySpec
    This class specifies a DSTU4145 private key with its associated parameters.
    • Constructor Detail

      • DSTU4145PrivateKeySpec

        public DSTU4145PrivateKeySpec​(java.math.BigInteger s,
                                      DSTU4145ParameterSpec parameters)
        Creates a new GOST3410PrivateKeySpec with the specified parameter values.
        Parameters:
        s - the private key.
    • Method Detail

      • getS

        public java.math.BigInteger getS()
        Returns the private key value s.
        Returns:
        the private key s.