public class TPMAttestation extends Object implements Attestation
| Modifier and Type | Field and Description |
|---|---|
static int |
TPM_ALG_AES |
static int |
TPM_ALG_CAMELLIA |
static int |
TPM_ALG_CBC |
static int |
TPM_ALG_CFB |
static int |
TPM_ALG_CTR |
static int |
TPM_ALG_ECB |
static int |
TPM_ALG_ECC |
static int |
TPM_ALG_ECDAA |
static int |
TPM_ALG_ECDH |
static int |
TPM_ALG_ECDSA |
static int |
TPM_ALG_ECMQV |
static int |
TPM_ALG_ECSCHNORR |
static int |
TPM_ALG_ERROR |
static int |
TPM_ALG_HMAC |
static int |
TPM_ALG_KDF1_SP800_108 |
static int |
TPM_ALG_KDF1_SP800_56A |
static int |
TPM_ALG_KDF2 |
static int |
TPM_ALG_KEYEDHASH |
static int |
TPM_ALG_MGF1 |
static int |
TPM_ALG_NULL |
static int |
TPM_ALG_OAEP |
static int |
TPM_ALG_OFB |
static int |
TPM_ALG_RSA |
static int |
TPM_ALG_RSAES |
static int |
TPM_ALG_RSAPSS |
static int |
TPM_ALG_RSASSA |
static int |
TPM_ALG_SHA |
static int |
TPM_ALG_SHA1 |
static int |
TPM_ALG_SHA256 |
static int |
TPM_ALG_SHA384 |
static int |
TPM_ALG_SHA512 |
static int |
TPM_ALG_SM2 |
static int |
TPM_ALG_SM3_256 |
static int |
TPM_ALG_SM4 |
static int |
TPM_ALG_SYMCIPHER |
static int |
TPM_ALG_XOR |
static int |
TPM_ST_ATTEST_CERTIFY |
| Constructor and Description |
|---|
TPMAttestation() |
| Modifier and Type | Method and Description |
|---|---|
String |
fmt()
The unique identifier for the attestation
|
void |
validate(WebAuthnOptions options,
MetaData metadata,
byte[] clientDataJSON,
JsonObject attestation,
AuthData authData)
The implementation of the Attestation verification.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithash, parseX5c, verifySignaturepublic static final int TPM_ALG_ERROR
public static final int TPM_ALG_RSA
public static final int TPM_ALG_SHA
public static final int TPM_ALG_SHA1
public static final int TPM_ALG_HMAC
public static final int TPM_ALG_AES
public static final int TPM_ALG_MGF1
public static final int TPM_ALG_KEYEDHASH
public static final int TPM_ALG_XOR
public static final int TPM_ALG_SHA256
public static final int TPM_ALG_SHA384
public static final int TPM_ALG_SHA512
public static final int TPM_ALG_NULL
public static final int TPM_ALG_SM3_256
public static final int TPM_ALG_SM4
public static final int TPM_ALG_RSASSA
public static final int TPM_ALG_RSAES
public static final int TPM_ALG_RSAPSS
public static final int TPM_ALG_OAEP
public static final int TPM_ALG_ECDSA
public static final int TPM_ALG_ECDH
public static final int TPM_ALG_ECDAA
public static final int TPM_ALG_SM2
public static final int TPM_ALG_ECSCHNORR
public static final int TPM_ALG_ECMQV
public static final int TPM_ALG_KDF1_SP800_56A
public static final int TPM_ALG_KDF2
public static final int TPM_ALG_KDF1_SP800_108
public static final int TPM_ALG_ECC
public static final int TPM_ALG_SYMCIPHER
public static final int TPM_ALG_CAMELLIA
public static final int TPM_ALG_CTR
public static final int TPM_ALG_OFB
public static final int TPM_ALG_CBC
public static final int TPM_ALG_CFB
public static final int TPM_ALG_ECB
public static final int TPM_ST_ATTEST_CERTIFY
public String fmt()
Attestationfmt in interface Attestationpublic void validate(WebAuthnOptions options, MetaData metadata, byte[] clientDataJSON, JsonObject attestation, AuthData authData) throws AttestationException
Attestationvalidate in interface Attestationoptions - the runtime configuration optionsmetadata - the Metadata holder to perform MDS queriesclientDataJSON - the binary client data jsonattestation - the JSON representation of the attestationauthData - the authenticator dataAttestationException - if the validation failsCopyright © 2021. All rights reserved.