public final class RuntimeData extends Object
Constructor and Description |
---|
RuntimeData() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the data property: UTF-8 encoded Runtime Data generated by the trusted environment.
|
DataType |
getDataType()
Get the dataType property: The type of data contained within the "data" field.
|
RuntimeData |
setData(byte[] data)
Set the data property: UTF-8 encoded Runtime Data generated by the trusted environment.
|
RuntimeData |
setDataType(DataType dataType)
Set the dataType property: The type of data contained within the "data" field.
|
void |
validate()
Validates the instance.
|
public byte[] getData()
public RuntimeData setData(byte[] data)
data
- the data value to set.public DataType getDataType()
public RuntimeData setDataType(DataType dataType)
dataType
- the dataType value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.