|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.ws.sandbox.security.trust.message.token.STSSignedToken
http://www.w3.org/2001/10/xml-exc-c14n#.
According to the public key algorithm the signature algorithm is recognized.
There are two such algorithms that are supported here.
They are
1. http://www.w3.org/2000/09/xmldsig#dsa-sha1
2. http://www.w3.org/2000/09/xmldsig#rsa-sha1
If the public key algorithm is not supported then a WSSecurityException is thrown.
Else it creates an XMLSignature and signs it using private key of the Security Token Service| Constructor Summary | |
STSSignedToken(org.w3c.dom.Document docTobeSigned,
Crypto crypto,
java.lang.String alias,
java.lang.String password)
|
|
| Method Summary | |
org.w3c.dom.Element |
getElement()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public STSSignedToken(org.w3c.dom.Document docTobeSigned,
Crypto crypto,
java.lang.String alias,
java.lang.String password)
throws WSSecurityException
docTobeSigned - the document to be signedcrypto - alias - alias of the x509 certificatepassword - password of that particular certificate of the keystore
WSSecurityException| Method Detail |
public org.w3c.dom.Element getElement()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||