com.pax.dal.entity

Class SM2KeyPair

  • java.lang.Object
    • com.pax.dal.entity.SM2KeyPair


  • public class SM2KeyPair
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      SM2KeyPair() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] getPubKey()
      SM2 公钥
      SM2 public key
      byte[] getPvtKey()
      SM2 私钥
      SM2 private key
      void setPubKey(byte[] pubKey)
      SM2 公钥
      SM2 public key
      void setPvtKey(byte[] pvtKey)
      SM2 私钥
      SM2 private key
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPubKey

        public byte[] getPubKey()
        SM2 公钥
        SM2 public key
        Returns:
      • setPubKey

        public void setPubKey(byte[] pubKey)
        SM2 公钥
        SM2 public key
        Parameters:
        pubKey -
      • getPvtKey

        public byte[] getPvtKey()
        SM2 私钥
        SM2 private key
        Returns:
      • setPvtKey

        public void setPvtKey(byte[] pvtKey)
        SM2 私钥
        SM2 private key
        Parameters:
        pvtKey -