TrustPoint

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

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.