Modifier and Type | Field and Description |
---|---|
static String |
ID_NONE |
static NoneJWTSigner |
NONE |
Constructor and Description |
---|
NoneJWTSigner() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
获取算法
|
String |
sign(String headerBase64,
String payloadBase64)
签名
|
boolean |
verify(String headerBase64,
String payloadBase64,
String signBase64)
验签
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithmId
public static final String ID_NONE
public static NoneJWTSigner NONE
public String sign(String headerBase64, String payloadBase64)
JWTSigner
public boolean verify(String headerBase64, String payloadBase64, String signBase64)
JWTSigner
public String getAlgorithm()
JWTSigner
getAlgorithm
in interface JWTSigner
Copyright © 2024. All rights reserved.