|
|
|
@ -159,7 +159,7 @@ public class SignUtils { |
|
|
|
builder.withExpiresAt(expireDate); |
|
|
|
|
|
|
|
// 签名
|
|
|
|
signStr = builder.sign(Algorithm.RSA256(null,rsaPrivateKey)); |
|
|
|
signStr = builder.sign(Algorithm.RSA256(rsaPublicKey,rsaPrivateKey)); |
|
|
|
return signStr; |
|
|
|
} catch (Exception ex) { |
|
|
|
log.error(ex.getCause()); |
|
|
|
|