public class JWKSResponseBuilder extends Object
| Constructor and Description |
|---|
JWKSResponseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildResponse(PublicKey publicKey,
Certificate certificate)
Builds the JSON response of JWKS.
|
public static String buildResponse(PublicKey publicKey, Certificate certificate) throws CertificateException, NoSuchAlgorithmException, ParseException
publicKey - Public Key which should be included in the jwks response.certificate - Certificate which should be in the jwks response.CertificateExceptionNoSuchAlgorithmExceptionParseExceptionCopyright © 2019 WSO2. All rights reserved.