TrustManagerLocal
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.
For management, this includes addX509Cert, addVical, getEntries and deleteEntry methods.
Parameters
storage
the Storage to use.
identifier
an identifier for the TrustManager.
partitionId
an identifier to use if multiple TrustManagerLocal instances share the same storage.
Functions
Link copied to clipboard
Adds a new entry with a signed VICAL.
Link copied to clipboard
Adds a new entry for CAs identified by a X.509 certificate.
Link copied to clipboard
Removes a TrustEntry previously added with addX509Cert or addVical.
Link copied to clipboard
Gets a list of all entries added with addX509Cert or addVical.
Link copied to clipboard
Gets a TrustEntry by id.
Link copied to clipboard
Gets all trust points known to this TrustManager instance.
Link copied to clipboard
Updates metadata for an entry.
Link copied to clipboard
Checks if an entity identifying itself via a certificate chain is trusted.