Class TypeValuePairType
java.lang.Object
org.openehealth.ipf.commons.audit.model.TypeValuePairType
- All Implemented Interfaces:
Serializable
The ValuePair is used in
ParticipantObjectIdentificationType
descriptions to capture
parameters.
All values (even those that are normally plain text) are encoded as Base64.
This is to preserve details of encoding (e.g., nulls) and to protect against text
contents that contain XML fragments. These are known attack points against applications,
so security logs can be expected to need to capture them without modification by the
audit encoding process.- Since:
- 3.5
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
ConstructorDescriptionTypeValuePairType
(String type, byte[] value) Creates an instanceTypeValuePairType
(String type, byte[] value, byte[] defaultValue) Creates an instanceTypeValuePairType
(String type, String value) Creates an instanceTypeValuePairType
(String type, String value, String defaultValue) Creates an instance -
Method Summary
-
Constructor Details
-
TypeValuePairType
Creates an instance- Parameters:
type
- typevalue
- value string, NOT yet base64 encoded
-
TypeValuePairType
Creates an instance- Parameters:
type
- typevalue
- value string, NOT yet base64 encodeddefaultValue
- default value string used when value is null, NOT yet base64 encoded
-
TypeValuePairType
Creates an instance- Parameters:
type
- typevalue
- value byte array, NOT yet base64 encoded
-
TypeValuePairType
Creates an instance- Parameters:
type
- typevalue
- value byte array, NOT yet base64 encodeddefaultValue
- default value byte array used when value is null, NOT yet base64 encoded
-
-
Method Details