public class X509VerificationKeyResolver extends Object implements VerificationKeyResolver
Constructor and Description |
---|
X509VerificationKeyResolver(List<X509Certificate> certificates) |
X509VerificationKeyResolver(X509Certificate... certificates) |
Modifier and Type | Method and Description |
---|---|
Key |
resolveKey(JsonWebSignature jws,
List<JsonWebStructure> nestingContext) |
void |
setTryAllOnNoThumbHeader(boolean tryAllOnNoThumbHeader) |
public X509VerificationKeyResolver(List<X509Certificate> certificates)
public X509VerificationKeyResolver(X509Certificate... certificates)
public void setTryAllOnNoThumbHeader(boolean tryAllOnNoThumbHeader)
public Key resolveKey(JsonWebSignature jws, List<JsonWebStructure> nestingContext) throws UnresolvableKeyException
resolveKey
in interface VerificationKeyResolver
UnresolvableKeyException
Copyright © 2015. All rights reserved.