public class EllipticCurveJWTSigner extends AsymmetricJWTSigner
| Constructor and Description |
|---|
EllipticCurveJWTSigner(String algorithm,
Key key)
构造
|
EllipticCurveJWTSigner(String algorithm,
KeyPair keyPair)
构造
|
| Modifier and Type | Method and Description |
|---|---|
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 in class AsymmetricJWTSignerdata - 数据protected boolean verify(byte[] data,
byte[] signed)
AsymmetricJWTSignerverify in class AsymmetricJWTSignerdata - 数据signed - 签名Copyright © 2025. All rights reserved.