Package-level declarations

Types

Link copied to clipboard
class CompositeTrustManager(val trustManagers: List<TrustManagerInterface>, val identifier: String = "composite") : TrustManagerInterface

A TrustManagerInterface implementation which consults a list of other TrustManagerInterface instances.

Link copied to clipboard
class RicalTrustManager(val signedRical: SignedRical, val identifier: String = "default") : TrustManagerInterface

An implementation of TrustManagerInterface backed by a RICAL according to ISO/IEC 18013-5 Second Edition Annex F.

Link copied to clipboard
sealed class TrustEntry

Base class for trust entries.

Link copied to clipboard

Thrown by TrustManager.addX509Cert if there is already TrustEntry with the same Subject Key Identifier.

Link copied to clipboard
data class TrustEntryRical(val identifier: String, val metadata: TrustMetadata, val encodedSignedRical: ByteString) : TrustEntry

A RICAL based trust entry.

Link copied to clipboard
data class TrustEntryVical(val identifier: String, val metadata: TrustMetadata, val encodedSignedVical: ByteString) : TrustEntry

A VICAL based trust entry.

Link copied to clipboard
data class TrustEntryX509Cert(val identifier: String, val metadata: TrustMetadata, val certificate: X509Cert) : TrustEntry

A X.509 certificate based trust entry.

Link copied to clipboard
class TrustManager(storage: Storage, val identifier: String = "default", partitionId: String = "default_") : TrustManagerInterface

A robust, thread-safe implementation of TrustManagerInterface that securely manages and persists trust points (X.509 Certificates, VICALs, and RICALs).

Link copied to clipboard

Interface for checking if an entity is trusted.

Link copied to clipboard
data class TrustMetadata(val displayName: String? = null, val displayIcon: ByteString? = null, val displayIconUrl: String? = null, val privacyPolicyUrl: String? = null, val disclaimer: String? = null, val testOnly: Boolean = false, val extensions: Map<String, String> = emptyMap())

Metadata about an entity that can be trusted.

Link copied to clipboard
data class TrustPoint(val certificate: X509Cert, val metadata: TrustMetadata, val trustManager: TrustManagerInterface)

Class used for the representation of a trusted entity.

Link copied to clipboard
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.

Link copied to clipboard
class VicalTrustManager(val signedVical: SignedVical, val identifier: String = "default") : TrustManagerInterface

An implementation of TrustManagerInterface backed by a VICAL according to ISO/IEC 18013-5 Annex C.

Properties

Link copied to clipboard
Link copied to clipboard
val TrustEntry_cborSchemaId: ByteString
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions