Class SM2ParameterSpec

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

    public class SM2ParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    Parameter spec for SM2 ID parameter
    • Constructor Summary

      Constructors 
      Constructor Description
      SM2ParameterSpec​(byte[] id)
      Base constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getID()
      Return the ID value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SM2ParameterSpec

        public SM2ParameterSpec​(byte[] id)
        Base constructor.
        Parameters:
        id - the ID string associated with this usage of SM2.
    • Method Detail

      • getID

        public byte[] getID()
        Return the ID value.
        Returns:
        the ID string.