public class EnvelopedData extends Object
Java class for EnvelopedData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnvelopedData">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded">
<element name="KeyTransport" type="{}KeyTransport"/>
<element name="KEK" type="{}KEK"/>
</choice>
<element name="EncryptedContent" type="{}EncryptedContent"/>
</sequence>
<attribute name="Version" type="{}VersionType" default="v0" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected EncryptedContent |
encryptedContent
The Encrypted content.
|
protected List<Object> |
keyTransportOrKEK
The Key transport or kek.
|
protected VersionType |
version
The Version.
|
| Constructor and Description |
|---|
EnvelopedData() |
| Modifier and Type | Method and Description |
|---|---|
EncryptedContent |
getEncryptedContent()
Gets the value of the encryptedContent property.
|
List<Object> |
getKeyTransportOrKEK()
Gets the value of the keyTransportOrKEK property.
|
VersionType |
getVersion()
Gets the value of the version property.
|
void |
setEncryptedContent(EncryptedContent value)
Sets the value of the encryptedContent property.
|
void |
setVersion(VersionType value)
Sets the value of the version property.
|
protected EncryptedContent encryptedContent
protected VersionType version
public List<Object> getKeyTransportOrKEK()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the keyTransportOrKEK property.
For example, to add a new item, do as follows:
getKeyTransportOrKEK().add(newItem);
Objects of the following type(s) are allowed in the list
KeyTransport
KEK
public EncryptedContent getEncryptedContent()
EncryptedContentpublic void setEncryptedContent(EncryptedContent value)
value - allowed object is EncryptedContentpublic VersionType getVersion()
VersionTypepublic void setVersion(VersionType value)
value - allowed object is VersionTypeCopyright © 2022. All rights reserved.