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 keybyte[]getPvtKey()SM2 私钥SM2 private keyvoidsetPubKey(byte[] pubKey)SM2 公钥SM2 public keyvoidsetPvtKey(byte[] pvtKey)SM2 私钥SM2 private key
-
-
-
Constructor Detail
-
SM2KeyPair
public SM2KeyPair()
-
-
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-
-
-