public class AuthenticatedDataType extends Object
Java class for AuthenticatedDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthenticatedDataType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded">
<element name="KeyTransport" type="{}KeyTransportType"/>
<element name="KEK" type="{}KEKType"/>
</choice>
<element name="MACAlgorithm" type="{}AlgorithmIdentifier"/>
<element name="EncapsulatedContent" type="{}EncapsulatedContentType"/>
</sequence>
<attribute name="Version" type="{}VersionTypeCode" default="v0" />
<attribute name="MAC" use="required" type="{}MACType" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected EncapsulatedContentType |
encapsulatedContent |
protected List<Object> |
keyTransportOrKEK |
protected byte[] |
mac |
protected AlgorithmIdentifier |
macAlgorithm |
protected String |
version |
| Constructor and Description |
|---|
AuthenticatedDataType() |
| Modifier and Type | Method and Description |
|---|---|
EncapsulatedContentType |
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.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setEncapsulatedContent(EncapsulatedContentType 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(String value)
Sets the value of the version property.
|
protected AlgorithmIdentifier macAlgorithm
protected EncapsulatedContentType encapsulatedContent
protected String 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
KeyTransportType
KEKType
public AlgorithmIdentifier getMACAlgorithm()
AlgorithmIdentifierpublic void setMACAlgorithm(AlgorithmIdentifier value)
value - allowed object is
AlgorithmIdentifierpublic EncapsulatedContentType getEncapsulatedContent()
EncapsulatedContentTypepublic void setEncapsulatedContent(EncapsulatedContentType value)
value - allowed object is
EncapsulatedContentTypepublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic byte[] getMAC()
public void setMAC(byte[] value)
value - allowed object is
byte[]Copyright © 2018. All rights reserved.