public class EllipticCurveJWTSigner extends AsymmetricJWTSigner
| 构造器和说明 |
|---|
EllipticCurveJWTSigner(String algorithm,
Key key)
构造
|
EllipticCurveJWTSigner(String algorithm,
KeyPair keyPair)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
sign(byte[] data)
签名字符串数据
|
protected boolean |
verify(byte[] data,
byte[] signed)
验签数据
|
getAlgorithm, setCharset, sign, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithmIdpublic EllipticCurveJWTSigner(String algorithm, Key key)
algorithm - 算法key - 密钥protected byte[] sign(byte[] data)
AsymmetricJWTSignersign 在类中 AsymmetricJWTSignerdata - 数据protected boolean verify(byte[] data,
byte[] signed)
AsymmetricJWTSignerverify 在类中 AsymmetricJWTSignerdata - 数据signed - 签名Copyright © 2023. All rights reserved.