CredentialInterface

A cryptographic credential.

This is tied to a particular client via either its client id or certificate bundle, depending on its credential type, but is independent of any client instance or storage.

To attach to a particular client instance and store, see crate::CoreCryptoContext::add_credential.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun earliestValidity(): ULong

Get the earliest possible validity of this credential, expressed as seconds after the unix epoch.

Link copied to clipboard

Get the signature scheme of this credential.

Link copied to clipboard
abstract fun type(): CredentialType

Get the type of this credential.