| Constructor and Description |
|---|
DefaultSigner(String privateKey)
Instantiates a new Default signer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrivateKey()
Getter method for property privateKey.
|
void |
setPrivateKey(String privateKey)
Setter method for property privateKey.
|
String |
sign(String sourceContent,
String signType,
String charset)
对内容加签
|
public DefaultSigner(String privateKey)
privateKey - the private keypublic String sign(String sourceContent, String signType, String charset)
Signerpublic String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey - value to be assigned to property privateKeyCopyright © 2018. All rights reserved.