TrustResult
data class TrustResult(val isTrusted: Boolean, val trustChain: X509CertChain? = null, val trustPoints: List<TrustPoint> = emptyList(), val error: Throwable? = null, val authorizedDocTypes: List<String> = emptyList())
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, authorizedDocTypes: List<String> = emptyList())
Properties
Link copied to clipboard
the list of document types (e.g. org.iso.18013.5.1.mDL) authorized by the matched trust points.
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.