Class AttestationTrustSource.TrustRootsResult
- Enclosing interface:
- AttestationTrustSource
This primarily consists of a set of trust root certificates - see trustRoots(Set) - but may also:
 
- include a CertStoreof additional CRLs and/or intermediate certificates to use during certificate path validation - seecertStore(CertStore);
- disable certificate revocation checking for the relevant attestation statement - see
       enableRevocationChecking(boolean); and/or
- define a policy tree validator for the PKIX policy tree result - see policyTreeValidator(Predicate).
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()booleanACertStoreof additional CRLs and/or intermediate certificates to use during certificate path validation, if any.If non-null, the PolicyQualifiersRejected flag will be set to false during certificate path validation.@NonNull Set<X509Certificate>A set of attestation root certificates trusted to certify the relevant attestation statement.inthashCode()booleanWhether certificate revocation should be checked during certificate path validation.toString()
- 
Method Details- 
getCertStoreACertStoreof additional CRLs and/or intermediate certificates to use during certificate path validation, if any. This will not be used iftrustRootsis empty.Any certificates included in this CertStoreare NOT considered trusted; they will be trusted only if they chain to any of thetrustRoots.The default is null.
- 
getPolicyTreeValidatorIf non-null, the PolicyQualifiersRejected flag will be set to false during certificate path validation. SeePKIXParameters.setPolicyQualifiersRejected(boolean).The given Predicatewill be used to validate the policy tree. ThePredicateshould returntrueif the policy tree is acceptable, andfalseotherwise.Depending on your "PKIX"JCA provider configuration, this may be required if any certificate in the certificate path contains a certificate policies extension marked critical. If this is not set, then such a certificate will be rejected by the certificate path validator from the default provider.Consult the Java PKI Programmer's Guide for how to use the PolicyNodeargument of thePredicate.The default is null.
- 
builder
- 
getTrustRootsA set of attestation root certificates trusted to certify the relevant attestation statement. If the attestation statement is not trusted, or if no trust roots were found, this should be an empty set.
- 
isEnableRevocationCheckingpublic boolean isEnableRevocationChecking()Whether certificate revocation should be checked during certificate path validation.
- 
toBuilder
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-