newJwk function
新しい Jwk を発行する
Implementation
String newJwk() {
const algorithm = JsonWebAlgorithm.es256;
final jwk = algorithm.generateRandomKey();
final json = jsonEncode(jwk);
return json;
}
新しい Jwk を発行する
String newJwk() {
const algorithm = JsonWebAlgorithm.es256;
final jwk = algorithm.generateRandomKey();
final json = jsonEncode(jwk);
return json;
}