CloudSecureAreaProtocolStub

class CloudSecureAreaProtocolStub(endpoint: String, dispatcher: RpcDispatcher, notifier: RpcNotifier, state: DataItem = Bstr(byteArrayOf())) : RpcStub, CloudSecureAreaProtocol

Constructors

Link copied to clipboard
constructor(endpoint: String, dispatcher: RpcDispatcher, notifier: RpcNotifier, state: DataItem = Bstr(byteArrayOf()))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun batchCreateKey0(keyConfiguration: CloudKeyConfiguration): ByteString

Initiates batch creation of keys on the Cloud Secure Area server.

Link copied to clipboard
open suspend override fun batchCreateKey1(localKeyAttestations: List<KeyAttestation>): CloudBatchCreatedKeys

Completes batch creation of keys on the Cloud Secure Area server.

Link copied to clipboard
open suspend override fun checkPassphrase(passphrase: String)

Checks if the given passphrase matches the registered passphrase.

Link copied to clipboard
open suspend override fun createKey0(keyConfiguration: CloudKeyConfiguration): ByteString

Initiates creation of a single key on the Cloud Secure Area server.

Link copied to clipboard
open suspend override fun createKey1(localKeyAttestation: KeyAttestation): CloudCreatedKey

Completes creation of a single key on the Cloud Secure Area server.

Link copied to clipboard
open suspend override fun kemDecapsulate0(ciphertext: ByteString, keyContext: ByteString): ByteString

Initiates decapsulating a shared secret with a KEM cloud key.

Link copied to clipboard
open suspend override fun kemDecapsulate1(signature: EcSignature, passphrase: String?): ByteString

Completes decapsulating a shared secret with a KEM cloud key.

Link copied to clipboard
open suspend override fun keyAgreement0(otherPublicKey: EcPublicKey, keyContext: ByteString): ByteString

Initiates key agreement (ECDH) with a cloud key.

Link copied to clipboard
open suspend override fun keyAgreement1(signature: EcSignature, passphrase: String?): ByteString

Completes key agreement (ECDH) with a cloud key.

Link copied to clipboard
open suspend override fun register(passphrase: String): X509CertChain

Completes registration with the Cloud Secure Area server and sets the user's passphrase.

Link copied to clipboard
open suspend override fun sign0(dataToSign: ByteString, keyContext: ByteString): ByteString

Initiates signing data with a cloud key.

Link copied to clipboard
open suspend override fun sign1(signature: EcSignature, passphrase: String?): Signature

Completes signing data with a cloud key.

Link copied to clipboard
Link copied to clipboard