Interface TpmAttestation.QuoteOrBuilder (0.31.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
Name Description
key int
Returns
Type Description
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
Type Description
int

The hashAlgo.

getPcrValues() (deprecated)

public abstract Map<Integer,ByteString> getPcrValues()

Use #getPcrValuesMap() instead.

Returns
Type Description
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
Type Description
int

getPcrValuesMap()

public abstract Map<Integer,ByteString> getPcrValuesMap()

Raw binary values of each PCRs being quoted.

map<int32, bytes> pcr_values = 2;

Returns
Type Description
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
Name Description
key int
defaultValue ByteString
Returns
Type Description
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
Name Description
key int
Returns
Type Description
ByteString

getRawQuote()

public abstract ByteString getRawQuote()

TPM2 quote, encoded as a TPMS_ATTEST

bytes raw_quote = 3;

Returns
Type Description
ByteString

The rawQuote.

getRawSignature()

public abstract ByteString getRawSignature()

TPM2 signature, encoded as a TPMT_SIGNATURE

bytes raw_signature = 4;

Returns
Type Description
ByteString

The rawSignature.