public final class Signer extends Object
Signature
instance.
This must be done as a separate step in order to support the following cases:
Modifier | Constructor and Description |
---|---|
protected |
Signer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
signObject(Signature signature)
Signs a single XMLObject.
|
static void |
signObjects(List<Signature> signatures)
Signs the given XMLObject in the order provided.
|
public static void signObjects(@Nonnull List<Signature> signatures) throws SignatureException
signatures
- an ordered list of XMLObject to be signedSignatureException
- thrown if there is an error computing the signaturepublic static void signObject(@Nonnull Signature signature) throws SignatureException
signature
- the signature to compute the signature onSignatureException
- thrown if there is an error computing the signatureCopyright © 2017. All rights reserved.