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 a credential to a client instance and store it, call add_credential on a CoreCryptoContext.

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
abstract fun exportPem(): String

Export a PEM string containing the public portion of this credential.

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.