EphemeralKey
An ephemeral keypair, not stored in any kind of persistent storage. Can be either EC or RSA. Has a CryptoPublicKey, and you can obtain a Signer from it.
To generate a key, use
EphemeralKey {
/* optional configuration */
}
Content copied to clipboard
Inheritors
Types
Link copied to clipboard
An EphemeralKey suitable for ECDSA operations.
Link copied to clipboard
An EphemeralKey suitable for RSA operations.
Properties
Link copied to clipboard
The underlying JCA PrivateKey object.
The underlying JCA PrivateKey object.
Link copied to clipboard
Link copied to clipboard
The underlying SecKeyRef referencing the ephemeral key's private key.
Functions
Link copied to clipboard
abstract fun signer(configure: DSLConfigureFn<EphemeralSignerConfiguration> = null): KmmResult<Signer>
Create a signer that signs using this EphemeralKey.