com.ibm.websphere.wssecurity.wssapi.encryption
Interface WSSEncryption
- public interface WSSEncryption
- Target of encryption
- BODY_CONTENT, SIGNATURE
- data encryption method
- AES128
- key encryption method
- KW_RSA_OAEP
WSSFactory factory = WSSFactory.getInstance(); WSSGenerationContext gencont = factory.newWSSGenerationContext(); X509GenerateCallbackHandler callbackhandler = generateCallbackHandler(); SecurityToken token = factory.newSecurityToken(X509Token.class, callbackHandler); WSSEncryption enc = factory.newWSSEncryption(token); gencont.add(enc);
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
AES128
The URI for the data encryption algorithm, AES 128:
http://www.w3.org/2001/04/xmlenc#aes128-cbc.
|
|
AES192
The URI for the data encryption algorithm, AES 192:
http://www.w3.org/2001/04/xmlenc#aes192-cbc
|
|
AES256
The URI for the data encryption algorithm, AES 256:
http://www.w3.org/2001/04/xmlenc#aes256-cbc
|
|
BODY_CONTENT
The keyword for the body content of the SOAP message as an encryption part.
|
|
KW_AES128
The URI for the key encryption algorithm, key wrap AES 128:
http://www.w3.org/2001/04/xmlenc#kw-aes128.
|
|
KW_AES192
The URI for the key encryption algorithm, key wrap AES 192:
http://www.w3.org/2001/04/xmlenc#kw-aes192.
|
|
KW_AES256
The URI for the key encryption algorithm, key wrap AES 256:
http://www.w3.org/2001/04/xmlenc#kw-aes256.
|
|
KW_RSA_OAEP
The URI for the key encryption algorithm, key wrap RSA OAEP:
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p.
|
|
KW_RSA15
The URI for the key encryption algorithm, key wrap RSA 1.5:
http://www.w3.org/2001/04/xmlenc#rsa-1_5.
|
|
KW_TRIPLE_DES
The URI for the key encryption algorithm, key wrap triple DES:
http://www.w3.org/2001/04/xmlenc#kw-tripledes.
|
|
SIGNATURE
The keyword for the signature as a encryption part.
|
|
TRIPLE_DES
The URI for the data encryption algorithm, triple DES:
http://www.w3.org/2001/04/xmlenc#tripledes-cbc.
|