Module com.webauthn4j.core
Class TPMAttestationStatement
java.lang.Object
com.webauthn4j.data.attestation.statement.TPMAttestationStatement
- All Implemented Interfaces:
AttestationStatement,CertificateBaseAttestationStatement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTPMAttestationStatement(@NotNull COSEAlgorithmIdentifier alg, @NotNull AttestationCertificatePath x5c, @org.jetbrains.annotations.NotNull byte[] sig, @NotNull TPMSAttest certInfo, @NotNull TPMTPublic pubArea) TPMAttestationStatement(@NotNull String ver, @NotNull COSEAlgorithmIdentifier alg, @Nullable AttestationCertificatePath x5c, @org.jetbrains.annotations.NotNull byte[] sig, @NotNull TPMSAttest certInfo, @NotNull TPMTPublic pubArea) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull COSEAlgorithmIdentifiergetAlg()@NotNull TPMSAttest@NotNull String@NotNull TPMTPublic@org.jetbrains.annotations.NotNull byte[]getSig()@NotNull StringgetVer()@Nullable AttestationCertificatePathgetX5c()inthashCode()voidvalidate()Validates the instance per field basis.
-
Field Details
-
FORMAT
- See Also:
-
VERSION_2_0
- See Also:
-
-
Constructor Details
-
TPMAttestationStatement
public TPMAttestationStatement(@NotNull @NotNull String ver, @NotNull @NotNull COSEAlgorithmIdentifier alg, @Nullable @Nullable AttestationCertificatePath x5c, @NotNull @org.jetbrains.annotations.NotNull byte[] sig, @NotNull @NotNull TPMSAttest certInfo, @NotNull @NotNull TPMTPublic pubArea) -
TPMAttestationStatement
public TPMAttestationStatement(@NotNull @NotNull COSEAlgorithmIdentifier alg, @NotNull @NotNull AttestationCertificatePath x5c, @NotNull @org.jetbrains.annotations.NotNull byte[] sig, @NotNull @NotNull TPMSAttest certInfo, @NotNull @NotNull TPMTPublic pubArea)
-
-
Method Details
-
getVer
-
getAlg
-
getX5c
- Specified by:
getX5cin interfaceCertificateBaseAttestationStatement
-
getSig
@NotNull public @org.jetbrains.annotations.NotNull byte[] getSig() -
getCertInfo
-
getPubArea
-
getFormat
- Specified by:
getFormatin interfaceAttestationStatement
-
validate
public void validate()Description copied from interface:AttestationStatementValidates the instance per field basis.- Specified by:
validatein interfaceAttestationStatement
-
equals
-
hashCode
public int hashCode()
-