public interface JOSEObjectTypeVerifier<C extends SecurityContext>
Example JOSE header with a "typ" (type) parameter set to "at+jwt":
{
"alg" : "ES256",
"typ" : "at+jwt",
"kid" : "123"
}
| Modifier and Type | Method and Description |
|---|---|
void |
verify(JOSEObjectType type,
C context)
Verifies the JOSE "typ" (type) header parameter.
|
void verify(JOSEObjectType type, C context) throws BadJOSEException
type - The "typ" (type) header parameter, null if
not set.context - Optional context, null if not required.BadJOSEException - If the type is rejected.Copyright © 2021 Connect2id Ltd.. All rights reserved.