com.ibm.websphere.wssecurity.wssapi.signature
Interface WSSSignature
- public interface WSSSignature
- target of signature
- BODY, ADDRESSING_HEADERS, TIMESTAMP
- signature method
- RSA_SHA1
- canonicalization method
- EXC_C14N
WSSFactory factory = WSSFactory.getInstance(); WSSGenerationContext gencont = factory.newWSSGenerationContext(); X509GenerateCallbackHandler callbackhandler = generateCallbackHandler(); SecurityToken token = factory.newSecurityToken(X509Token.class, callbackHandler); WSSSignature sig = factory.newWSSSignature(token); gencont.add(sig);
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
ADDRESSING_HEADERS
The keyword for the WS-Addressing headers that are defined by the Web Services Addressing(WS-Addressing) specification.
|
|
BODY
The keyword for the SOAP body.
|
|
C14N
The URI for the inclusive canonicalization algorithm, C14n:
http://www.w3.org/2001/10/xml-c14n#.
|
|
EXC_C14N
The URI for the exclusive canonicalization algorithm, Exc-C14n:
http://www.w3.org/2001/10/xml-exc-c14n#.
|
|
HMAC_SHA1
The URI for the signature algorithm, HMAC_SHA1:
http://www.w3.org/2000/09/xmldsig#hmac-sha1.
|
|
RSA_SHA1
The URI for the signature algorithm, RSA_SHA1:
http://www.w3.org/2000/09/xmldsig#rsa-sha1.
|
|
TIMESTAMP
The keyword for the creation and expiration time stamp information.
|