public class PublicKeyJwsSignatureVerifier extends Object implements JwsSignatureVerifier
| Constructor and Description |
|---|
PublicKeyJwsSignatureVerifier(PublicKey key,
AlgorithmParameterSpec spec,
SignatureAlgorithm supportedAlgo) |
PublicKeyJwsSignatureVerifier(PublicKey key,
SignatureAlgorithm supportedAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
checkAlgorithm(String algo) |
SignatureAlgorithm |
getAlgorithm() |
protected boolean |
isValidAlgorithmFamily(String algo) |
boolean |
verify(JwsHeaders headers,
String unsignedText,
byte[] signature) |
protected static final Logger LOG
public PublicKeyJwsSignatureVerifier(PublicKey key, SignatureAlgorithm supportedAlgorithm)
public PublicKeyJwsSignatureVerifier(PublicKey key, AlgorithmParameterSpec spec, SignatureAlgorithm supportedAlgo)
public boolean verify(JwsHeaders headers, String unsignedText, byte[] signature)
verify in interface JwsSignatureVerifierprotected boolean isValidAlgorithmFamily(String algo)
public SignatureAlgorithm getAlgorithm()
getAlgorithm in interface JwsSignatureVerifierApache CXF