com.pingidentity.sts.clientapi.utils
Class DigitalSigner
java.lang.Object
com.pingidentity.sts.clientapi.utils.DigitalSigner
public class DigitalSigner
- extends java.lang.Object
DigitalSigner
Method Summary |
java.util.List<org.w3c.dom.Element> |
getSignedElements()
|
void |
sign(org.w3c.dom.Element security,
java.util.Collection<org.w3c.dom.Element> toSign,
java.security.PrivateKey key,
java.lang.String idref)
|
boolean |
verifyX509Signature(org.w3c.dom.Element signature,
java.security.PublicKey key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigitalSigner
public DigitalSigner()
sign
public void sign(org.w3c.dom.Element security,
java.util.Collection<org.w3c.dom.Element> toSign,
java.security.PrivateKey key,
java.lang.String idref)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
verifyX509Signature
public boolean verifyX509Signature(org.w3c.dom.Element signature,
java.security.PublicKey key)
getSignedElements
public java.util.List<org.w3c.dom.Element> getSignedElements()
Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.