package
0.0.0-20221205164246-ebaf9b74c6ec
Repository: https://github.com/duo-labs/webauthn.git
Documentation: pkg.go.dev
# Functions
DecodeAttestationData decode a TPMS_ATTEST message.
DecodePublic decodes a TPMT_PUBLIC message.
UnpackBuf recursively unpacks types from a reader just as encoding/binary does under binary.BigEndian, but with one difference: it unpacks a byte slice by first reading an integer with lengthPrefixSize bytes, then reading that many bytes.
UseTPM20LengthPrefixSize makes Pack/Unpack use TPM 2.0 encoding for byte arrays.
# Constants
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
Supported Algorithms.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
ECC curves supported by TPM 2.0 spec.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
Key properties.
TPM Structure Tags.
TPM Structure Tags.
TPM Structure Tags.
TPM Structure Tags.
TPM Structure Tags.
TPM Structure Tags.
TPM Structure Tags.
# Structs
AttestationData contains data attested by TPM commands (like Certify).
CertifyInfo contains Certify-specific data for TPMS_ATTEST.
ClockInfo contains TPM state info included in AttestationData.
CreationInfo contains Creation-specific data for TPMS_ATTEST.
ECCParams represents parameters of an ECC key pair.
ECPoint represents a ECC coordinates for a point.
KDFScheme represents a KDF (Key Derivation Function) scheme.
PCRSelection contains a slice of PCR indexes and a hash algorithm used in them.
Public contains the public area of an object.
QuoteInfo represents a TPMS_QUOTE_INFO structure.
RSAParams represents parameters of an RSA key pair.
SymScheme represents a symmetric encryption scheme.
# Type aliases
Algorithm represents a TPM_ALG_ID value.
EllipticCurve identifies specific EC curves.
A Handle is a reference to a TPM object.
KeyProp is a bitmask used in Attributes field of key templates.
RawBytes is for Pack and RunCommand arguments that are already encoded.
Tag is a command tag.