public class SignatureVerifierImpl extends Object implements SignatureVerifier
| Constructor and Description |
|---|
SignatureVerifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(String signature,
String tppEncodedCert,
Map<String,String> headers,
String method,
String url)
Verifies signature compliance with incoming headers map and TPP-SIGNATURE-CERTIFICATE
|
public boolean verify(String signature, String tppEncodedCert, Map<String,String> headers, String method, String url)
SignatureVerifierverify in interface SignatureVerifiersignature - generated value according Signing HTTP MessagestppEncodedCert - The certificate used for signing the request, in base64 encoding.headers - Map with all request headers with their valuesmethod - Name of HTTP method according to rfc1945 spec. (HTTP/1.0)url - URL form requesttrue if signature is compliance with other parameters. false otherwise.Copyright © 2020. All rights reserved.