public class EcDsaJwsSignatureVerifier extends PublicKeyJwsSignatureVerifier
LOG
Constructor and Description |
---|
EcDsaJwsSignatureVerifier(PublicKey key,
AlgorithmParameterSpec spec,
SignatureAlgorithm supportedAlgo) |
EcDsaJwsSignatureVerifier(PublicKey key,
SignatureAlgorithm supportedAlgo) |
EcDsaJwsSignatureVerifier(X509Certificate cert,
AlgorithmParameterSpec spec,
SignatureAlgorithm supportedAlgo) |
EcDsaJwsSignatureVerifier(X509Certificate cert,
SignatureAlgorithm supportedAlgo) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isValidAlgorithmFamily(String algo) |
boolean |
verify(JwsHeaders headers,
String unsignedText,
byte[] signature) |
checkAlgorithm, createJwsVerificationSignature, getAlgorithm, getX509Certificate
public EcDsaJwsSignatureVerifier(PublicKey key, SignatureAlgorithm supportedAlgo)
public EcDsaJwsSignatureVerifier(PublicKey key, AlgorithmParameterSpec spec, SignatureAlgorithm supportedAlgo)
public EcDsaJwsSignatureVerifier(X509Certificate cert, SignatureAlgorithm supportedAlgo)
public EcDsaJwsSignatureVerifier(X509Certificate cert, AlgorithmParameterSpec spec, SignatureAlgorithm supportedAlgo)
public boolean verify(JwsHeaders headers, String unsignedText, byte[] signature)
verify
in interface JwsSignatureVerifier
verify
in class PublicKeyJwsSignatureVerifier
protected boolean isValidAlgorithmFamily(String algo)
isValidAlgorithmFamily
in class PublicKeyJwsSignatureVerifier
Apache CXF