public class AuthenticatedData extends Object
Java class for AuthenticatedData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthenticatedData">
<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="MACAlgorithm" type="{}AlgorithmIdentifier"/>
<element name="EncapsulatedContent" type="{}EncapsulatedContent"/>
</sequence>
<attribute name="Version" type="{}VersionType" default="v0" />
<attribute name="MAC" use="required" type="{}MAC" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected EncapsulatedContent |
encapsulatedContent
The Encapsulated content.
|
protected List<Object> |
keyTransportOrKEK
The Key transport or kek.
|
protected byte[] |
mac
The Mac.
|
protected AlgorithmIdentifier |
macAlgorithm
The Mac algorithm.
|
protected VersionType |
version
The Version.
|
| Constructor and Description |
|---|
AuthenticatedData() |
| Modifier and Type | Method and Description |
|---|---|
EncapsulatedContent |
getEncapsulatedContent()
Gets the value of the encapsulatedContent property.
|
List<Object> |
getKeyTransportOrKEK()
Gets the value of the keyTransportOrKEK property.
|
byte[] |
getMAC()
Gets the value of the mac property.
|
AlgorithmIdentifier |
getMACAlgorithm()
Gets the value of the macAlgorithm property.
|
VersionType |
getVersion()
Gets the value of the version property.
|
void |
setEncapsulatedContent(EncapsulatedContent value)
Sets the value of the encapsulatedContent property.
|
void |
setMAC(byte[] value)
Sets the value of the mac property.
|
void |
setMACAlgorithm(AlgorithmIdentifier value)
Sets the value of the macAlgorithm property.
|
void |
setVersion(VersionType value)
Sets the value of the version property.
|
protected AlgorithmIdentifier macAlgorithm
protected EncapsulatedContent encapsulatedContent
protected VersionType version
protected byte[] mac
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 AlgorithmIdentifier getMACAlgorithm()
AlgorithmIdentifierpublic void setMACAlgorithm(AlgorithmIdentifier value)
value - allowed object is AlgorithmIdentifierpublic EncapsulatedContent getEncapsulatedContent()
EncapsulatedContentpublic void setEncapsulatedContent(EncapsulatedContent value)
value - allowed object is EncapsulatedContentpublic VersionType getVersion()
VersionTypepublic void setVersion(VersionType value)
value - allowed object is VersionTypepublic byte[] getMAC()
public void setMAC(byte[] value)
value - allowed object is byte[]Copyright © 2022. All rights reserved.