public final class SignatureValidator extends Object
Signature
using a candidate validation Credential
.Modifier | Constructor and Description |
---|---|
protected |
SignatureValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
validate(Signature signature,
Credential validationCredential)
Validate the given XML Signature using the given candidate validation Credential.
|
public static void validate(@Nonnull Signature signature, @Nonnull Credential validationCredential) throws SignatureException
signature
- the XMLSignature to validatevalidationCredential
- the candidate validation CredentialSignatureException
- if the signature does not validate using the candiate Credential,
or if there is otherwise an error during the validation operationCopyright © 2016. All rights reserved.