Package-level declarations
Types
Link copied to clipboard
class CompositeTrustManager(val trustManagers: List<TrustManager>, val identifier: String = "composite") : TrustManager
A TrustManager implementation which consults a list of other TrustManager instances.
Link copied to clipboard
Base class for trust entries added to TrustManagerLocal
Link copied to clipboard
data class TrustEntryVical(val id: String, val timeAdded: Instant, val metadata: TrustMetadata, val numCertificates: Int, val encodedSignedVical: ByteString) : TrustEntry
A VICAL based trust entry.
Link copied to clipboard
data class TrustEntryX509Cert(val id: String, val timeAdded: Instant, val metadata: TrustMetadata, val ski: String, val certificate: X509Cert) : TrustEntry
A X.509 certificate based trust entry.
Link copied to clipboard
interface TrustManager
Interface for checking if an entity is trusted.
Link copied to clipboard
class TrustManagerLocal(storage: Storage, val identifier: String = "default", partitionId: String = "default_") : TrustManager
An implementation of TrustManager using a local persistent store of entries that provide trust points.
Link copied to clipboard
data class TrustMetadata(val displayName: String? = null, val displayIcon: ByteString? = null, val privacyPolicyUrl: String? = null, val testOnly: Boolean = false)
Metadata about entity that can be trusted.
Link copied to clipboard
data class TrustPoint(val certificate: X509Cert, val metadata: TrustMetadata, val trustManager: TrustManager)
Class used for the representation of a trusted entity.
Link copied to clipboard
Thrown if trying to add a TrustPoint to a TrustManager but there is already another TrustPoint with the same Subject Key Identifier.
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") : TrustManager
An implementation of TrustManager backed by a VICAL according to ISO/IEC 18013-5 Annex C.