Interface DittoException.EncryptionExceptionReason
- All Known Implementing Classes:
DittoException.EncryptionExceptionReason.KeyInvalid,DittoException.EncryptionExceptionReason.KeyRequired,DittoException.EncryptionExceptionReason.KeyUnexpected,DittoException.EncryptionExceptionReason.MetadataCorrupt,DittoException.EncryptionExceptionReason.UnsupportedScheme
- Enclosing class:
DittoException
public static sealed interface DittoException.EncryptionExceptionReason
permits DittoException.EncryptionExceptionReason.KeyRequired, DittoException.EncryptionExceptionReason.KeyUnexpected, DittoException.EncryptionExceptionReason.KeyInvalid, DittoException.EncryptionExceptionReason.UnsupportedScheme, DittoException.EncryptionExceptionReason.MetadataCorrupt
The possible underlying reasons an
DittoException.EncryptionException occurs.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe provided encryption key does not match the store on disk.static final recordThe store on disk is encrypted but no encryption key was provided.static final recordAn encryption key was provided but the store on disk is not encrypted.static final recordThe store's encryption metadata is corrupt or inconsistent with the store on disk.static final recordThe store's on-disk encryption scheme is not supported by this SDK build.