TrustResult

data class TrustResult(val isTrusted: Boolean, val trustChain: X509CertChain? = null, val trustPoints: List<TrustPoint> = emptyList(), val error: Throwable? = null)

Class containing the verdict of whether a given entity is trusted.

Constructors

Link copied to clipboard
constructor(isTrusted: Boolean, trustChain: X509CertChain? = null, trustPoints: List<TrustPoint> = emptyList(), error: Throwable? = null)

Properties

Link copied to clipboard
val error: Throwable? = null

a Throwable indicating if an error occurred validating the trust chain.

Link copied to clipboard

trust if a trust point was found.

Link copied to clipboard

the chain that was built, is null if isTrusted is false or the entity isn't identified using a X509 certificates.

Link copied to clipboard

the set of trust points that matched, is empty if isTrusted is false.