public class CertificateThumbprintConfirmationKeyVerifier extends Object implements ConfirmationKeyVerifier
ClientContext
)
and comparing the result with the base64-url-encoded value provided within the confirmation key node.UNKNOWN
Constructor and Description |
---|
CertificateThumbprintConfirmationKeyVerifier(String algorithm)
Constructs a new verifier with the given
MessageDigest algorithm name. |
Modifier and Type | Method and Description |
---|---|
Promise<Result,NeverThrowsException> |
verify(Context context,
AccessTokenInfo tokenInfo,
JsonValue cnfKey)
Verifies the given confirmation key value.
|
public CertificateThumbprintConfirmationKeyVerifier(String algorithm)
MessageDigest
algorithm name.algorithm
- algorithm namepublic Promise<Result,NeverThrowsException> verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey)
ConfirmationKeyVerifier
verify
in interface ConfirmationKeyVerifier
context
- execution contexttokenInfo
- resolved (but not authorized) access_token infocnfKey
- cnf child node such as x5t#S256.Copyright 2011-2017 ForgeRock AS.