public interface EncryptionProperty
EncryptedData
or EncryptedKey
can be placed in an
EncryptionProperty
element (e.g., date/time stamp or the serial
number of cryptographic hardware used during encryption). The Target
attribute identifies the EncryptedType
structure being
described. anyAttribute permits the inclusion of attributes from the XML
namespace to be included (i.e., xml:space
,
xml:lang
, and xml:base
).
It is defined as follows:
Modifier and Type | Method and Description |
---|---|
void |
addEncryptionInformation(Element information)
Adds encryption information.
|
String |
getAttribute(String attribute)
Returns the attribute's value in the
xml namespace. |
Iterator<Element> |
getEncryptionInformation()
Returns the properties of the
EncryptionProperty . |
String |
getId()
Returns the id of the
EncryptionProperty . |
String |
getTarget()
Returns the
EncryptedType being described. |
void |
removeEncryptionInformation(Element information)
Removes encryption information.
|
void |
setAttribute(String attribute,
String value)
Set the attribute value.
|
void |
setId(String id)
Sets the id.
|
void |
setTarget(String target)
Sets the target.
|
String getTarget()
EncryptedType
being described.EncryptedType
being described by this
EncryptionProperty
.void setTarget(String target)
target
- String getId()
EncryptionProperty
.void setId(String id)
id
- String getAttribute(String attribute)
xml
namespace.attribute
- void setAttribute(String attribute, String value)
attribute
- the attribute's name.value
- the attribute's value.Iterator<Element> getEncryptionInformation()
EncryptionProperty
.Iterator
over all the additional encryption
information contained in this class.void addEncryptionInformation(Element information)
information
- the additional encryption information.void removeEncryptionInformation(Element information)
information
- the information to remove.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.