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.
Link copied to clipboard
data class TrustEntryVical(val metadata: TrustMetadata, val encodedSignedVical: ByteString) : TrustEntry
A VICAL based trust entry.
Link copied to clipboard
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
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.