Interface TpmAttestation.QuoteOrBuilder (0.18.0)

public static interface TpmAttestation.QuoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsPcrValues(int key)

public abstract boolean containsPcrValues(int key)

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Parameter
NameDescription
keyint
Returns
TypeDescription
boolean

getHashAlgo()

public abstract int getHashAlgo()

The hash algorithm of the PCR bank being quoted, encoded as a TPM_ALG_ID

int32 hash_algo = 1;

Returns
TypeDescription
int

The hashAlgo.

getPcrValues() (deprecated)

public abstract Map<Integer,ByteString> getPcrValues()

Use #getPcrValuesMap() instead.

Returns
TypeDescription
Map<java.lang.Integer,ByteString>

getPcrValuesCount()

public abstract int getPcrValuesCount()

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Returns
TypeDescription
int

getPcrValuesMap()

public abstract Map<Integer,ByteString> getPcrValuesMap()

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Returns
TypeDescription
Map<java.lang.Integer,ByteString>

getPcrValuesOrDefault(int key, ByteString defaultValue)

public abstract ByteString getPcrValuesOrDefault(int key, ByteString defaultValue)

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Parameters
NameDescription
keyint
defaultValueByteString
Returns
TypeDescription
ByteString

getPcrValuesOrThrow(int key)

public abstract ByteString getPcrValuesOrThrow(int key)

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Parameter
NameDescription
keyint
Returns
TypeDescription
ByteString

getRawQuote()

public abstract ByteString getRawQuote()

TPM2 quote, encoded as a TPMS_ATTEST

bytes raw_quote = 3;

Returns
TypeDescription
ByteString

The rawQuote.

getRawSignature()

public abstract ByteString getRawSignature()

TPM2 signature, encoded as a TPMT_SIGNATURE

bytes raw_signature = 4;

Returns
TypeDescription
ByteString

The rawSignature.