TrustPoint

data class TrustPoint(val certificate: X509Cert, val metadata: TrustMetadata, val trustManager: TrustManagerInterface, val isIaca: Boolean = false, val docTypes: List<String> = emptyList())

Class used for the representation of a trusted entity.

This is used to represent both trusted issuers and trusted relying parties.

Parameters

certificate

the root X509 certificate for the CA.

metadata

a TrustMetadata with metadata about the trust point.

trustManager

the TrustManagerInterface the trust point comes from.

isIaca

whether this trust point represents an Issuing Authority Certificate Authority (IACA).

docTypes

the list of document types (e.g. org.iso.18013.5.1.mDL) this trust point is authorized for, or empty if unrestricted.

Constructors

Link copied to clipboard
constructor(certificate: X509Cert, metadata: TrustMetadata, trustManager: TrustManagerInterface, isIaca: Boolean = false, docTypes: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard