Package org.apache.ws.security
Class WSEncryptionPart
java.lang.Object
org.apache.ws.security.WSEncryptionPart
- Author:
- Werner Dittmann (Werner.Dittmann@siemens.com)
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor to initialize part structure with element id.WSEncryptionPart
(String id, String encMod) Constructor to initialize part structure with element id and modifier.WSEncryptionPart
(String nm, String nmspace, String encMod) Constructor to initialize part structure with element, namespace, and modifier. -
Method Summary
-
Constructor Details
-
WSEncryptionPart
Constructor to initialize part structure with element, namespace, and modifier. This constructor initializes the parts structure to lookup for a fully qualified name of an element to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information. Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.- Parameters:
nm
- Element's namenmspace
- Element's namespaceencMod
- The encryption modifier
-
WSEncryptionPart
Constructor to initialize part structure with element id. This constructor initializes the parts structure to lookup for a an element with the given Id to encrypt or sign.- Parameters:
id
- The Id to of the element to process
-
WSEncryptionPart
Constructor to initialize part structure with element id and modifier. This constructor initializes the parts structure to lookup for a an element with the given Id to encrypt or sign. The modifier controls how encryption encrypts the element, signature processing does not use the modifier information. Regarding the modifier ("Content" or "Element") refer to the W3C XML Encryption specification.- Parameters:
id
- The Id to of the element to processencMod
- The encryption modifier
-
-
Method Details
-
getName
- Returns:
- the local name of the element to encrypt.
-
getNamespace
- Returns:
- the namespace of the element to encrypt
-
getEncModifier
- Returns:
- the encryption modifier
-
getId
- Returns:
- Returns the id.
-