Package-level declarations

Types

Link copied to clipboard
data class CloudBatchCreatedKeys(val commonCertChain: X509CertChain, val remoteKeyAttestationLeafs: List<X509Cert>, val serverStates: List<ByteString>, val openid4vciKeyAttestationCompactSerialization: String?)

Result of batch-creating keys in a CloudSecureArea.

Link copied to clipboard
data class CloudCreatedKey(val remoteKeyAttestation: X509CertChain, val serverState: ByteString)

Result of creating a single key in a CloudSecureArea.

Link copied to clipboard

Holds cloud-specific settings related to key creation.

Link copied to clipboard

Cloud Secure Area specific exception.

Link copied to clipboard
data class CloudKeyConfiguration(val algorithm: Algorithm, val validFrom: Instant, val validUntil: Instant, val passphraseRequired: Boolean, val userAuthenticationRequired: Boolean, val userAuthenticationTypes: Set<CloudUserAuthType>, val challenge: ByteString)

Configuration for creating one or more keys in a CloudSecureArea.

Link copied to clipboard

Cloud Secure Area specific class for information about a key.

Link copied to clipboard

Specialization of KeyLockedException with extra detail for why a key is locked.

Link copied to clipboard
class CloudKeyUnlockData(val secureArea: CloudSecureArea, val alias: String) : KeyUnlockData

A class to provide information used for unlocking a Cloud Secure Area key.

Link copied to clipboard
open class CloudSecureArea(storageTable: StorageTable, val identifier: String, val serverUrl: String, httpClientEngineFactory: HttpClientEngineFactory<*>, random: Random = Crypto.secureRandom) : SecureArea

An implementation of SecureArea using a Secure Area managed by an external server.

Link copied to clipboard

Multipaz CBOR-RPC protocol interface between a CloudSecureArea client and server.

Link copied to clipboard
class CloudSecureAreaProtocolStub(endpoint: String, dispatcher: RpcDispatcher, notifier: RpcNotifier, state: DataItem = Bstr(byteArrayOf())) : RpcStub, CloudSecureAreaProtocol
Link copied to clipboard
class CloudTooManyPassphraseAttemptsException(val waitDuration: Duration, val message: String? = "Too many passphrase attempts") : Exception

Thrown when too many failed passphrase attempts have occurred and the client is temporarily locked out.

Link copied to clipboard

An enumeration for different user authentication types when using CloudSecureArea.

Link copied to clipboard
class CloudWrongPassphraseException(val message: String? = "Wrong passphrase supplied") : Exception

Thrown when the passphrase provided to unlock a cloud key or check the passphrase is incorrect.

Properties

Functions