WithNonce
sealed class WithNonce<A : AuthCapability<out K>, K : KeyType> : SealedBox<A, NonceTrait.Required, K> (source)
A sealed box consisting of an nonce and the actual ciphertext. Construct using SymmetricEncryptionAlgorithm.sealedBoxFrom
Inheritors
Types
Link copied to clipboard
class Authenticated<K : KeyType> : SealedBox.WithNonce<AuthCapability.Authenticated<out K>, K> , SealedBox.Authenticated<NonceTrait.Required, K>
Link copied to clipboard
Properties
Functions
Link copied to clipboard
fun <A : AuthCapability<out K>, K : KeyType, I : NonceTrait> SealedBox<A, I, out K>.isAuthenticated(): Boolean
Use to smart-cast this sealed box