org.opensaml.xml.signature
Class Signer

java.lang.Object
  extended by org.opensaml.xml.signature.Signer

public class Signer
extends java.lang.Object

This class is responsible for creating the digital signatures for the given signable XMLObjects. This must be done as a seperate step because in order to support the following cases:


Constructor Summary
protected Signer()
          Constructor.
 
Method Summary
static void signObject(Signature signature)
          Signs a single XMLObject.
static void signObjects(java.util.List<Signature> xmlObjects)
          Signs the given XMLObject in the order provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Signer

protected Signer()
Constructor.

Method Detail

signObjects

public static void signObjects(java.util.List<Signature> xmlObjects)
                        throws SignatureException
Signs the given XMLObject in the order provided.

Parameters:
xmlObjects - an orderded list of XMLObject to be signed
Throws:
SignatureException - thrown if there is an error computing the signature

signObject

public static void signObject(Signature signature)
                       throws SignatureException
Signs a single XMLObject.

Parameters:
signature - the signature to computer the signature on
Throws:
SignatureException - thrown if there is an error computing the signature


Copyright © 2006-2012 Internet2. All Rights Reserved.