Companion

object Companion

Functions

Link copied to clipboard
fun anonymous(privateKey: EcPrivateKey, algorithm: Algorithm = privateKey.curve.defaultSigningAlgorithmFullySpecified): AsymmetricKey
suspend fun anonymous(secureArea: SecureArea, alias: String, unlockReason: UnlockReason = UnlockReason.Unspecified, algorithm: Algorithm? = null): AsymmetricKey
Link copied to clipboard
fun ephemeral(algorithm: Algorithm = Algorithm.ESP256): AsymmetricKey
Link copied to clipboard
suspend fun parse(json: String, secureAreaRepository: SecureAreaRepository?, unlockReason: UnlockReason = UnlockReason.Unspecified): AsymmetricKey

Parses json string that describes the private key.

suspend fun parse(json: JsonElement, secureAreaRepository: SecureAreaRepository?, unlockReason: UnlockReason = UnlockReason.Unspecified): AsymmetricKey

Parses json object that describes the private key.

Link copied to clipboard

Parses json string that describes the private key for software-based private key.

fun parseExplicit(json: JsonElement): AsymmetricKey

Parses json object that describes the private key for software-based private key.