class TpmPublic extends AbstractTpmStructure (View source)

Represents TPMT_PUBLIC structure

Constants

TPM_ALG_RSA

TPM_ALG_ECC

TPM_ALG_NULL

TPM_ALG_SHA

TPM_ALG_SHA1

TPM_ALG_SHA256

TPM_ALG_SHA384

TPM_ALG_SHA512

PHP_HASH_ALG_MAP

Methods

readLengthPrefixed(ByteBuffer $buffer, int $offset)

No description

readFixed(ByteBuffer $buffer, int $offset, int $length)

No description

__construct(ByteBuffer $data)

No description

int
getType()

No description

int
getObjectAttributes()

No description

int
getNameAlg()

No description

getUnique()

No description

generatePubInfoHash()

No description

Details

protected readLengthPrefixed(ByteBuffer $buffer, int $offset)

Parameters

ByteBuffer $buffer
int $offset

protected readFixed(ByteBuffer $buffer, int $offset, int $length)

Parameters

ByteBuffer $buffer
int $offset
int $length

__construct(ByteBuffer $data)

Parameters

ByteBuffer $data

int getType()

Return Value

int

int getObjectAttributes()

Return Value

int

KeyParametersInterface getParameters()

Return Value

KeyParametersInterface

int getNameAlg()

Return Value

int

ByteBuffer getUnique()

Return Value

ByteBuffer

generatePubInfoHash()