Interface CertificateVerification
public interface CertificateVerification
X.509 certificate verification for a
private_key_jwt
client
authentication.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The X.509 certificate verification context. -
Method Summary
Modifier and TypeMethodDescriptionvoid
verify
(List<X509Certificate> x5c, CertificateVerification.Context ctx) Called to verify the specified X.509 certificate for aprivate_key_jwt
client authentication.
-
Method Details
-
verify
void verify(List<X509Certificate> x5c, CertificateVerification.Context ctx) throws com.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException Called to verify the specified X.509 certificate for aprivate_key_jwt
client authentication.- Parameters:
x5c
- The X.509 certificate, with optional chain. Notnull
or empty.ctx
- The certificate verification context. Notnull
.- Throws:
com.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
- If the X.509 certificate is invalid. Throwing anExposedInvalidClientException
will override the default Connect2id servererror_description
anderror_uri
in the HTTP 401 Unauthorized error response.
-