Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface com.mku.func.Consumer
- accept(T1, T2) - Method in interface com.mku.func.BiConsumer
- accept(T1, T2, T3) - Method in interface com.mku.func.TriConsumer
- Active - Enum constant in enum class com.mku.sequence.NonceSequence.Status
-
Currently active sequence used to provide nonces for data encryption ie: file contents and filenames.
- actualLength() - Method in class com.mku.salmon.streams.SalmonStream
-
Provides the total length of the base stream including header and integrity data if available.
- AES_IMPL_AES_INTR - Static variable in class com.mku.salmon.transform.SalmonAesIntrTransformer
-
The constant to pass to the native code while initializing.
- AES_IMPL_TINY_AES - Static variable in class com.mku.salmon.transform.TinyAesTransformer
-
The constant to pass to the native code while initializing.
- AesIntrinsics - Enum constant in enum class com.mku.salmon.streams.ProviderType
-
Salmon builtin AES intrinsics.
- AndroidDrive - Class in com.mku.android.salmon.drive
-
Implementation of a virtual drive for android.
- AndroidFile - Class in com.mku.android.file
-
Implementation of the IRealFile for Android using Storage Access Framework that supports read/write to external SD cards.
- AndroidFile(DocumentFile, Context) - Constructor for class com.mku.android.file.AndroidFile
-
Construct an AndroidFile wrapper from an Android DocumentFile.
- AndroidFileStream - Class in com.mku.android.streams
-
Class is a stream implementation wrapper for java streams that are retrieved from AndroidFile which support external SD cards.
- AndroidFileStream(AndroidFile, String) - Constructor for class com.mku.android.streams.AndroidFileStream
-
Construct a file stream from an AndroidFile.
- AndroidSequenceSerializer - Class in com.mku.android.sequence
-
Sequence parser for Android.
- AndroidSequenceSerializer() - Constructor for class com.mku.android.sequence.AndroidSequenceSerializer
- AndroidSharedFileObserver - Class in com.mku.android.file
-
Implementation of a file observer that detects when a share file has been edited by external apps.
- apply(T) - Method in interface com.mku.func.Function
- areJobsStopped() - Method in class com.mku.utils.FileCommander
-
True if all jobs are stopped.
- AUTH_ID_SIZE - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Auth ID size
- autoRename - Static variable in interface com.mku.file.IRealFile
-
Get an auto generated copy of the name for a file.
- autoRename - Static variable in class com.mku.salmon.SalmonFile
- autoRename(SalmonFile) - Static method in class com.mku.salmon.SalmonFile
- autoRename(String) - Static method in interface com.mku.file.IRealFile
-
Get an auto generated copy of a filename
B
- Base64 - Class in com.mku.android.convert
-
Base64 Proxy for Android.
- Base64 - Class in com.mku.convert
-
Base64 encoder/decoder.
- Base64() - Constructor for class com.mku.android.convert.Base64
- Base64() - Constructor for class com.mku.convert.Base64
- Begin - Enum constant in enum class com.mku.streams.RandomAccessStream.SeekOrigin
-
Start from the beginning of the stream.
- BiConsumer<T1,
T2> - Interface in com.mku.func -
Backwards compatibility BiConsumer class for devices with Android 23 and prior.
- BitConverter - Class in com.mku.convert
-
Converts from/to: byte arrays, integral values, and hex strings.
- BitConverter() - Constructor for class com.mku.convert.BitConverter
- BLOCK_SIZE - Static variable in class com.mku.salmon.SalmonGenerator
-
Should be 16 for AES256 the same as the iv.
- BLOCK_SIZE - Static variable in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Salmon stream encryption block size, same as AES.
- buffer - Variable in class com.mku.salmon.streams.SalmonFileInputStream.CacheBuffer
C
- CacheBuffer(int) - Constructor for class com.mku.salmon.streams.SalmonFileInputStream.CacheBuffer
-
Instantiate a cache buffer.
- calc(byte[], byte[], int, int) - Method in class com.mku.integrity.HmacSHA256Provider
-
Calculate HMAC SHA256 hash for a byte buffer.
- calc(byte[], byte[], int, int) - Method in interface com.mku.integrity.IHashProvider
-
Calculate the hash for the data provided.
- calculateHash(IHashProvider, byte[], int, int, byte[], byte[]) - Static method in class com.mku.salmon.integrity.SalmonIntegrity
-
Calculate hash of the data provided.
- cancel() - Method in class com.mku.utils.FileCommander
-
Cancel all jobs.
- canRead() - Method in class com.mku.android.streams.AndroidFileStream
-
True if the stream is readable.
- canRead() - Method in class com.mku.file.JavaFileStream
-
True if stream can read from file.
- canRead() - Method in class com.mku.salmon.streams.SalmonStream
-
If the stream is readable (only if EncryptionMode == Decrypted)
- canRead() - Method in class com.mku.streams.MemoryStream
- canRead() - Method in class com.mku.streams.RandomAccessStream
-
True if the stream is readable.
- canSeek() - Method in class com.mku.android.streams.AndroidFileStream
-
True if the stream is seekable (random access).
- canSeek() - Method in class com.mku.file.JavaFileStream
-
True if stream can seek.
- canSeek() - Method in class com.mku.salmon.streams.SalmonStream
-
If the stream is seekable (supported only if base stream is seekable).
- canSeek() - Method in class com.mku.streams.MemoryStream
- canSeek() - Method in class com.mku.streams.RandomAccessStream
-
True if the stream is seekable.
- canWrite() - Method in class com.mku.android.streams.AndroidFileStream
-
True if the stream is writeable.
- canWrite() - Method in class com.mku.file.JavaFileStream
-
True if stream can write to file.
- canWrite() - Method in class com.mku.salmon.streams.SalmonStream
-
If the stream is writable (only if EncryptionMode is Encrypt)
- canWrite() - Method in class com.mku.streams.MemoryStream
- canWrite() - Method in class com.mku.streams.RandomAccessStream
-
True if the stream is writable.
- CHUNK_SIZE_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Chunk size format length.
- clear() - Method in class com.mku.salmon.SalmonDriveConfig
-
Clear properties.
- clear() - Method in class com.mku.salmon.SalmonDriveKey
-
Clear the properties from memory.
- clear() - Method in class com.mku.salmon.streams.SalmonFileInputStream.CacheBuffer
-
Clear the buffer.
- clearCache() - Method in class com.mku.android.file.AndroidFile
-
Clear the cache
- clearFileObservers() - Static method in class com.mku.android.file.AndroidSharedFileObserver
-
Clear all file observers.
- close() - Method in class com.mku.android.salmon.media.SalmonMediaDataSource
-
Close the source and all associated resources.
- close() - Method in class com.mku.android.streams.AndroidFileStream
-
Close the stream.
- close() - Method in class com.mku.file.JavaFileStream
-
Close this stream and associated resources.
- close() - Method in class com.mku.salmon.SalmonDecryptor
-
Close the decryptor and release associated resources
- close() - Method in class com.mku.salmon.SalmonDrive
-
Lock the drive and close associated resources.
- close() - Method in class com.mku.salmon.SalmonEncryptor
-
Close the decryptor and release associated resources
- close() - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Close this file sequencer.
- close() - Method in class com.mku.salmon.streams.SalmonFileInputStream
-
Close the stream and associated backed streams and clear buffers.
- close() - Method in class com.mku.salmon.streams.SalmonStream
-
Closes the stream and all resources associated with it (including the base stream).
- close() - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- close() - Method in interface com.mku.sequence.INonceSequencer
-
Close the sequencer and any associated resources.
- close() - Method in class com.mku.streams.InputStreamWrapper
-
Closes the base stream.
- close() - Method in class com.mku.streams.MemoryStream
-
Close any resources the stream is using.
- close() - Method in class com.mku.streams.RandomAccessStream
-
Close the stream and associated resources.
- close() - Method in class com.mku.utils.FileCommander
- close() - Method in class com.mku.utils.FileExporter
- close() - Method in class com.mku.utils.FileImporter
- com.mku.android.convert - package com.mku.android.convert
- com.mku.android.file - package com.mku.android.file
- com.mku.android.salmon.drive - package com.mku.android.salmon.drive
- com.mku.android.salmon.media - package com.mku.android.salmon.media
- com.mku.android.sequence - package com.mku.android.sequence
- com.mku.android.streams - package com.mku.android.streams
- com.mku.bridge - package com.mku.bridge
- com.mku.convert - package com.mku.convert
- com.mku.file - package com.mku.file
- com.mku.func - package com.mku.func
- com.mku.integrity - package com.mku.integrity
- com.mku.salmon - package com.mku.salmon
- com.mku.salmon.bridge - package com.mku.salmon.bridge
- com.mku.salmon.drive - package com.mku.salmon.drive
- com.mku.salmon.encode - package com.mku.salmon.encode
- com.mku.salmon.integrity - package com.mku.salmon.integrity
- com.mku.salmon.password - package com.mku.salmon.password
- com.mku.salmon.sequence - package com.mku.salmon.sequence
- com.mku.salmon.service - package com.mku.salmon.service
- com.mku.salmon.streams - package com.mku.salmon.streams
- com.mku.salmon.text - package com.mku.salmon.text
- com.mku.salmon.transform - package com.mku.salmon.transform
- com.mku.salmon.utils - package com.mku.salmon.utils
- com.mku.salmon.win.registry - package com.mku.salmon.win.registry
- com.mku.salmon.win.sequencer - package com.mku.salmon.win.sequencer
- com.mku.sequence - package com.mku.sequence
- com.mku.streams - package com.mku.streams
- com.mku.utils - package com.mku.utils
- COMBINED_KEY_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
combined key is drive key + hash key.
- Consumer<T> - Interface in com.mku.func
-
Backwards compatibility Consumer class for devices with Android 23 and prior.
- copy(IRealFile) - Method in class com.mku.android.file.AndroidFile
-
Copy this file to another directory.
- copy(IRealFile) - Method in interface com.mku.file.IRealFile
-
Copy this file to another directory.
- copy(IRealFile) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- copy(IRealFile, String) - Method in class com.mku.android.file.AndroidFile
-
Copy this file to another directory.
- copy(IRealFile, String) - Method in interface com.mku.file.IRealFile
-
Copy this file to another directory.
- copy(IRealFile, String) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- copy(IRealFile, String, BiConsumer<Long, Long>) - Method in class com.mku.android.file.AndroidFile
-
Copy this file to another directory.
- copy(IRealFile, String, BiConsumer<Long, Long>) - Method in interface com.mku.file.IRealFile
-
Copy this file to another directory.
- copy(IRealFile, String, BiConsumer<Long, Long>) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- copy(IVirtualFile, BiConsumer<Long, Long>) - Method in interface com.mku.file.IVirtualFile
- copy(IVirtualFile, BiConsumer<Long, Long>) - Method in class com.mku.salmon.SalmonFile
-
Copy a file to another directory.
- copyFileContents(IRealFile, IRealFile, boolean, BiConsumer<Long, Long>) - Static method in interface com.mku.file.IRealFile
-
Copy contents of a file to another file.
- copyFiles(IVirtualFile[], IVirtualFile, boolean, Consumer<FileCommander.VirtualFileTaskProgress>, Function<IVirtualFile, String>, boolean, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.utils.FileCommander
-
Copy files to another directory.
- copyRecursively(IRealFile) - Method in interface com.mku.file.IRealFile
-
Copy a directory recursively
- copyRecursively(IRealFile, TriConsumer<IRealFile, Long, Long>, Function<IRealFile, String>, boolean, BiConsumer<IRealFile, Exception>) - Method in interface com.mku.file.IRealFile
-
Copy a directory recursively
- copyRecursively(IVirtualFile, TriConsumer<IVirtualFile, Long, Long>, Function<IVirtualFile, String>, boolean, BiConsumer<IVirtualFile, Exception>) - Method in interface com.mku.file.IVirtualFile
- copyRecursively(IVirtualFile, TriConsumer<IVirtualFile, Long, Long>, Function<IVirtualFile, String>, boolean, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.salmon.SalmonFile
-
Copy a directory recursively
- copyTo(RandomAccessStream) - Method in class com.mku.streams.RandomAccessStream
-
Write stream contents to another stream.
- copyTo(RandomAccessStream, int, BiConsumer<Long, Long>) - Method in class com.mku.streams.RandomAccessStream
-
Write stream contents to another stream.
- copyTo(RandomAccessStream, BiConsumer<Long, Long>) - Method in class com.mku.streams.RandomAccessStream
-
Write stream contents to another stream.
- copyToSharedFolder(SalmonFile) - Method in class com.mku.android.salmon.drive.AndroidDrive
-
Copy file to shared folder
- count - Variable in class com.mku.salmon.streams.SalmonFileInputStream.CacheBuffer
- create(IRealFile, String, INonceSequencer) - Static method in class com.mku.salmon.drive.JavaDrive
-
Helper method that creates and initializes a JavaDrive
- create(PbkdfType) - Static method in class com.mku.salmon.password.SalmonPbkdfFactory
-
Create an instance of a pbkdf provider.
- create(ProviderType) - Static method in class com.mku.salmon.transform.SalmonTransformerFactory
-
Create an encryption transformer implementation.
- createDirectory(String) - Method in class com.mku.android.file.AndroidFile
- createDirectory(String) - Method in interface com.mku.file.IRealFile
-
Create the directory with the name provided under this directory.
- createDirectory(String) - Method in interface com.mku.file.IVirtualFile
- createDirectory(String) - Method in class com.mku.file.JavaFile
-
Create a directory under this directory.
- createDirectory(String) - Method in class com.mku.salmon.SalmonFile
-
Creates a directory under this directory
- createDirectory(String, byte[], byte[]) - Method in class com.mku.salmon.SalmonFile
-
Creates a directory under this directory
- createDrive(IRealFile, Class<?>, String, INonceSequencer) - Static method in class com.mku.salmon.SalmonDrive
-
Create a new drive in the provided location.
- createFile(String) - Method in class com.mku.android.file.AndroidFile
- createFile(String) - Method in interface com.mku.file.IRealFile
-
Create an empty file with the provided name.
- createFile(String) - Method in interface com.mku.file.IVirtualFile
- createFile(String) - Method in class com.mku.file.JavaFile
-
Create a file under this directory.
- createFile(String) - Method in class com.mku.salmon.SalmonFile
-
Create a file under this directory
- createFile(String, byte[], byte[], byte[]) - Method in class com.mku.salmon.SalmonFile
-
Create a file under this directory
- createFileObserver(File, SalmonFile, Consumer<AndroidSharedFileObserver>) - Static method in class com.mku.android.file.AndroidSharedFileObserver
-
Create a file observer that will detect if the file contents of a shared salmon file have changed
- createSequence(String, String) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Create a sequence for the drive ID and auth ID provided.
- createSequence(String, String) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- createSequence(String, String) - Method in interface com.mku.sequence.INonceSequencer
-
Create a sequence.
- CreateSequence - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
- Current - Enum constant in enum class com.mku.streams.RandomAccessStream.SeekOrigin
-
Start from the current position of the stream.
D
- decode(String) - Method in class com.mku.android.convert.Base64
-
Decode a string.
- decode(String) - Method in class com.mku.convert.Base64
-
Decode text from Base64 string.
- decode(String) - Method in interface com.mku.convert.IBase64
-
Decode a Base64 string to byte array
- decrypt(byte[], byte[], byte[], boolean) - Method in class com.mku.salmon.SalmonDecryptor
-
Decrypts a byte array using parallel threads.
- decrypt(byte[], byte[], byte[], boolean, boolean, byte[], Integer) - Method in class com.mku.salmon.SalmonDecryptor
-
Decrypt a byte array using AES256 based on the provided key and nonce.
- Decrypt - Enum constant in enum class com.mku.salmon.streams.EncryptionMode
-
Decryption Mode used with a base stream as a source.
- decryptData(byte[], int, byte[], int, int) - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Decrypt the data.
- decryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonAesIntrTransformer
-
Decrypt the data.
- decryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonDefaultTransformer
-
Decrypt the data.
- decryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonNativeTransformer
-
Decrypt the data.
- decryptString(String, byte[], byte[], boolean) - Static method in class com.mku.salmon.text.SalmonTextDecryptor
-
Decrypts a text String using AES256 with the key and nonce provided.
- decryptString(String, byte[], byte[], boolean, boolean, byte[], Integer) - Static method in class com.mku.salmon.text.SalmonTextDecryptor
-
Decrypts a text String using AES256 with the key and nonce provided.
- Default - Enum constant in enum class com.mku.salmon.password.PbkdfType
-
Default Java pbkdf implementation.
- Default - Enum constant in enum class com.mku.salmon.streams.ProviderType
-
Default Java AES cipher.
- DEFAULT_CHUNK_SIZE - Static variable in class com.mku.salmon.integrity.SalmonIntegrity
-
Default chunk size for integrity.
- delete() - Method in class com.mku.android.file.AndroidFile
-
Delete this file.
- delete() - Method in interface com.mku.file.IRealFile
-
Delete this file.
- delete() - Method in interface com.mku.file.IVirtualFile
- delete() - Method in class com.mku.file.JavaFile
-
Delete this file or directory.
- delete() - Method in class com.mku.salmon.SalmonFile
-
Delete this file.
- delete(String) - Method in class com.mku.salmon.win.registry.SalmonRegistry
-
Delete a value
- deleteFiles(IVirtualFile[], Consumer<FileCommander.VirtualFileTaskProgress>, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.utils.FileCommander
-
Delete files.
- deleteRecursively(TriConsumer<IRealFile, Long, Long>, BiConsumer<IRealFile, Exception>) - Method in interface com.mku.file.IRealFile
-
Delete a directory recursively
- deleteRecursively(TriConsumer<IVirtualFile, Long, Long>, BiConsumer<IVirtualFile, Exception>) - Method in interface com.mku.file.IVirtualFile
- deleteRecursively(TriConsumer<IVirtualFile, Long, Long>, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.salmon.SalmonFile
- deserialize(String) - Method in class com.mku.android.sequence.AndroidSequenceSerializer
-
Deserialize nonce sequences.
- deserialize(String) - Method in class com.mku.salmon.sequence.SalmonSequenceSerializer
-
Deserialize sequences from XML string.
- deserialize(String) - Method in interface com.mku.sequence.INonceSequenceSerializer
-
Parse nonce sequences from text contents.
- DRIVE_ID_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Drive ID size.
E
- encode(byte[]) - Method in class com.mku.android.convert.Base64
-
Encode a string.
- encode(byte[]) - Method in class com.mku.convert.Base64
-
Encode byte array to a text string.
- encode(byte[]) - Method in interface com.mku.convert.IBase64
-
Encode a byte array to Base64 string.
- encrypt(byte[], byte[], byte[], boolean) - Method in class com.mku.salmon.SalmonEncryptor
-
Encrypt a byte array.
- encrypt(byte[], byte[], byte[], boolean, boolean, byte[], Integer) - Method in class com.mku.salmon.SalmonEncryptor
-
Encrypts a byte array using the provided key and nonce.
- Encrypt - Enum constant in enum class com.mku.salmon.streams.EncryptionMode
-
Encryption Mode used with a base stream as a target.
- encryptData(byte[], int, byte[], int, int) - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Encrypt the data.
- encryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonAesIntrTransformer
-
Encrypt the data.
- encryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonDefaultTransformer
-
Encrypt the data.
- encryptData(byte[], int, byte[], int, int) - Method in class com.mku.salmon.transform.SalmonNativeTransformer
-
Encrypt the data.
- EncryptionMode - Enum Class in com.mku.salmon.streams
-
Encryption Mode
- encryptString(String, byte[], byte[], boolean) - Static method in class com.mku.salmon.text.SalmonTextEncryptor
-
Encrypts a text String using AES256 with the key and nonce provided.
- encryptString(String, byte[], byte[], boolean, boolean, byte[], Integer) - Static method in class com.mku.salmon.text.SalmonTextEncryptor
-
Encrypts a text String using AES256 with the key and nonce provided.
- End - Enum constant in enum class com.mku.streams.RandomAccessStream.SeekOrigin
-
Start from the end of the stream.
- exists() - Method in class com.mku.android.file.AndroidFile
-
True if file exists.
- exists() - Method in interface com.mku.file.IRealFile
-
True if this file exists.
- exists() - Method in interface com.mku.file.IVirtualFile
- exists() - Method in class com.mku.file.JavaFile
-
True if file or directory exists.
- exists() - Method in class com.mku.salmon.SalmonFile
-
Returns true if this file exists
- exists(String) - Method in class com.mku.salmon.win.registry.SalmonRegistry
-
True if value exists
- EXPANDED_KEY_SIZE - Static variable in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Standard expansion key size for AES256 only.
- exportAuthFile(SalmonDrive, String, IRealFile) - Static method in class com.mku.salmon.SalmonAuthConfig
-
Export an authorization file for a drive and a specific device auth id.
- exportFile(IVirtualFile, IRealFile, String, boolean, boolean, BiConsumer<Long, Long>) - Method in class com.mku.utils.FileExporter
-
Export a file from the drive to the external directory path
- exportFiles(IVirtualFile[], IRealFile, boolean, boolean, Consumer<FileCommander.VirtualFileTaskProgress>, Function<IRealFile, String>, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.utils.FileCommander
-
Export a file from a drive.
F
- FileCommander - Class in com.mku.utils
-
Facade class for file operations.
- FileCommander(FileImporter, FileExporter, FileSearcher) - Constructor for class com.mku.utils.FileCommander
-
Instantiate a new file commander object.
- FileCommander.RealFileTaskProgress - Class in com.mku.utils
- FileCommander.VirtualFileTaskProgress - Class in com.mku.utils
- FileExporter - Class in com.mku.utils
- FileExporter() - Constructor for class com.mku.utils.FileExporter
- FileImporter - Class in com.mku.utils
- FileImporter() - Constructor for class com.mku.utils.FileImporter
- FileSearcher - Class in com.mku.utils
-
Class searches for files in a SalmonDrive by filename.
- FileSearcher() - Constructor for class com.mku.utils.FileSearcher
- FileSearcher.OnResultFoundListener - Interface in com.mku.utils
-
Functional interface to notify when result is found.
- FileSearcher.SearchEvent - Enum Class in com.mku.utils
-
Event status types.
- FileUtils - Class in com.mku.utils
- FileUtils() - Constructor for class com.mku.utils.FileUtils
- finalize() - Method in class com.mku.salmon.SalmonDecryptor
- finalize() - Method in class com.mku.salmon.SalmonDriveKey
-
Finalize.
- finalize() - Method in class com.mku.salmon.SalmonEncryptor
- finalize() - Method in class com.mku.utils.FileExporter
- finalize() - Method in class com.mku.utils.FileImporter
- flush() - Method in class com.mku.android.streams.AndroidFileStream
-
Flush the buffers to the stream.
- flush() - Method in class com.mku.file.JavaFileStream
-
Flush the buffers to the associated file.
- flush() - Method in class com.mku.salmon.streams.SalmonStream
-
Flushes any buffered data to the base stream.
- flush() - Method in class com.mku.streams.MemoryStream
-
Flush the stream.
- flush() - Method in class com.mku.streams.RandomAccessStream
-
Flush buffers.
- Function<T,
R> - Interface in com.mku.func -
Backwards compatibility Function class for devices with Android 23 and prior.
G
- generateAuthId() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Generate a secure random authorization ID.
- generateCombinedKey() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Generates a secure random combined key (drive key + hash key)
- generateDriveId() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Generate a Drive ID.
- generateHashes(byte[], byte[]) - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Generate a hash signatures for each data chunk.
- generateMasterKeyIV() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Generates the initial vector that will be used with the master key to encrypt the combined key (drive key + hash key)
- generateRequest(String, String, WinClientSequencer.RequestType, byte[], byte[]) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- generateSalt() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Generates a salt.
- get() - Method in interface com.mku.func.Supplier
- getAbsolutePath() - Method in class com.mku.android.file.AndroidFile
-
Get the absolute path on the physical drive.
- getAbsolutePath() - Method in interface com.mku.file.IRealFile
-
Get the absolute path of the file on disk.
- getAbsolutePath() - Method in class com.mku.file.JavaFile
-
Get the absolute path on the physical disk.
- getActualSize(byte[], byte[], byte[], EncryptionMode, byte[], boolean, Integer, byte[]) - Static method in class com.mku.salmon.streams.SalmonStream
-
Get the output size of the data to be transformed(encrypted or decrypted) including header and hash without executing any operations.
- getAesProviderType() - Static method in class com.mku.salmon.streams.SalmonStream
-
Get the global AES provider type.
- getAuthConfig(SalmonDrive, IRealFile) - Static method in class com.mku.salmon.SalmonAuthConfig
-
Get the app drive pair configuration properties for this drive
- getAuthConfigFilename() - Static method in class com.mku.salmon.SalmonDrive
- getAuthId() - Method in class com.mku.salmon.SalmonAuthConfig
-
Get the authorization ID for the target device.
- getAuthId() - Method in class com.mku.salmon.SalmonDrive
-
Get the authorization ID for the current device.
- getAuthId() - Method in class com.mku.sequence.NonceSequence
-
Get the authorization id of the device.
- getBase64() - Static method in class com.mku.salmon.encode.SalmonEncoder
-
Get the global default Base64 implementation.
- getBaseName() - Method in class com.mku.android.file.AndroidFile
-
Get the base name of this file.
- getBaseName() - Method in interface com.mku.file.IRealFile
-
Get the basename of the file.
- getBaseName() - Method in interface com.mku.file.IVirtualFile
- getBaseName() - Method in class com.mku.file.JavaFile
-
Get the name of this file or directory.
- getBaseName() - Method in class com.mku.salmon.SalmonFile
-
Returns the basename for the file
- getBlock() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns the current block value
- getBlock() - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Get the current block.
- getBlock() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Get the current block.
- getBlockSize() - Method in class com.mku.salmon.SalmonFile
-
Return the AES block size for encryption / decryption
- getBufferSize() - Method in class com.mku.salmon.streams.SalmonStream
-
Get the internal buffer size.
- getBytesFromRealFile(IRealFile, int) - Method in class com.mku.salmon.SalmonDrive
-
Get the byte contents of a file from the real filesystem.
- getCheckSumKey() - Method in class com.mku.salmon.win.sequencer.WinFileSequencer
-
Get the registry key to save the checksum.
- getChild(String) - Method in class com.mku.android.file.AndroidFile
-
Get a child file in this directory.
- getChild(String) - Method in interface com.mku.file.IRealFile
-
Get the file/directory matching the name provided under this directory.
- getChild(String) - Method in interface com.mku.file.IVirtualFile
- getChild(String) - Method in class com.mku.file.JavaFile
-
Get the file or directory under this directory with the provided name.
- getChild(String) - Method in class com.mku.salmon.SalmonFile
-
Get a child with this filename.
- getChildrenCount() - Method in class com.mku.android.file.AndroidFile
-
Get the count of files and subdirectories
- getChildrenCount() - Method in interface com.mku.file.IRealFile
-
Get the count of files and subdirectories
- getChildrenCount() - Method in class com.mku.file.JavaFile
-
Get the count of files and subdirectories
- getChildrenCount() - Method in class com.mku.salmon.SalmonFile
-
Get the count of files and subdirectories
- getChunkSize() - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Get the chunk size.
- getChunkSize() - Method in class com.mku.salmon.SalmonHeader
-
Get the chunk size.
- getChunkSize() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns the chunk size used to apply hash signature
- getConfigFilename() - Static method in class com.mku.salmon.SalmonDrive
- getContents() - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Get the contents of a sequence file.
- getContents() - Method in class com.mku.salmon.win.sequencer.WinFileSequencer
-
Gets the checksum the registry and verifies the contents.
- getContext() - Static method in class com.mku.android.salmon.drive.AndroidDrive
-
Get the Android context.
- getCounter() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns the current Counter value.
- getCounter() - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Get the current counter.
- getCounter() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Get the current Counter.
- getDateAscComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Date Ascending Comparator.
- getDateDescComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Date Descending Comparator.
- getDecryptedFilename(String, byte[], byte[]) - Method in class com.mku.salmon.SalmonFile
-
Return the decrypted filename of a real filename
- getDefaultAuthConfigFilename() - Static method in class com.mku.salmon.SalmonDrive
-
Get the default auth config filename.
- getDefaultComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get default comparator.
- getDefaultFileChunkSize() - Method in class com.mku.salmon.SalmonDrive
-
Return the default file chunk size
- getDrive() - Method in class com.mku.salmon.SalmonFile
-
Get the drive this file belongs to.
- getDriveConfig() - Method in class com.mku.salmon.SalmonDrive
-
Return the configuration properties of this drive.
- getDriveId() - Method in class com.mku.salmon.SalmonAuthConfig
-
Get the drive ID to grant authorization for.
- getDriveId() - Method in class com.mku.salmon.SalmonDrive
-
Get the drive ID.
- getDriveKey() - Method in class com.mku.salmon.SalmonDriveKey
-
Function returns the encryption key that will be used to encrypt/decrypt the files
- getEncryptedFilename(String, byte[], byte[]) - Method in class com.mku.salmon.SalmonFile
-
Return the encrypted filename of a virtual filename
- getEncryptionKey() - Method in class com.mku.salmon.SalmonFile
-
Returns the current encryption key
- getEncryptionMode() - Method in class com.mku.salmon.streams.SalmonStream
-
Get the encryption mode see
EncryptionMode
. - getExpandedKey() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Get the expanded key if available.
- getExportDir() - Method in class com.mku.salmon.SalmonDrive
-
Return the default external export dir that all file can be exported to.
- getExportDirectoryName() - Static method in class com.mku.salmon.SalmonDrive
- getExtensionFromFileName(String) - Static method in class com.mku.utils.FileUtils
-
Return the extension of a filename.
- getFile() - Method in class com.mku.utils.FileCommander.RealFileTaskProgress
- getFile() - Method in class com.mku.utils.FileCommander.VirtualFileTaskProgress
- getFileChunkSize() - Method in class com.mku.salmon.SalmonFile
-
Get the file chunk size from the header.
- getFileDescriptor(String) - Method in class com.mku.android.file.AndroidFile
-
Get a file descriptor corresponding to this file.
- getFilenameAscComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Filename Ascending Comparator.
- getFilenameDescComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Filename Descending Comparator.
- getFileNameWithoutExtension(String) - Static method in class com.mku.utils.FileUtils
-
Return a filename without extension
- getFileNonce() - Method in class com.mku.salmon.SalmonFile
-
Returns the initial vector that is used for encryption / decryption
- getHashDataLength(long, int) - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Return the number of bytes that all hash signatures occupy for each chunk size
- getHashes(byte[]) - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Get the hashes for each data chunk.
- getHashKey() - Method in class com.mku.salmon.SalmonDriveKey
-
Function returns the hash key that will be used to sign the file chunks
- getHashKey() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns a copy of the hash key.
- getHashSignature() - Method in class com.mku.salmon.SalmonDriveConfig
-
Get the hash signature that was used to sign this drive configuration.
- getHeader() - Method in class com.mku.salmon.SalmonFile
-
Get the custom
SalmonHeader
from this file. - getHeaderData() - Method in class com.mku.salmon.SalmonHeader
-
Get the raw header data.
- getId() - Method in class com.mku.sequence.NonceSequence
-
Get the id.
- getInputStream() - Method in class com.mku.android.file.AndroidFile
-
Get a stream for reading.
- getInputStream() - Method in interface com.mku.file.IRealFile
-
Get a stream for reading the file.
- getInputStream() - Method in interface com.mku.file.IVirtualFile
- getInputStream() - Method in class com.mku.file.JavaFile
-
Get a stream for reading the file.
- getInputStream() - Method in class com.mku.salmon.SalmonFile
-
Retrieves a SalmonStream that will be used for decrypting the file contents.
- getInstance() - Static method in class com.mku.salmon.service.SalmonStreamHandler
- getIterations() - Method in class com.mku.salmon.SalmonDriveConfig
-
Get the iterations to be used for the key derivation.
- getIterations() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Returns the iterations used for deriving the combined key from the text password
- getIterations() - Method in class com.mku.salmon.SalmonDriveKey
-
Get the number of iterations for the master key derivation.
- getIv() - Method in class com.mku.salmon.SalmonDriveConfig
-
Get the initial vector that was used to encrypt this drive configuration.
- getKey() - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Get the hash key.
- getKey() - Method in class com.mku.salmon.SalmonDrive
-
Return the encryption key that is used for encryption / decryption
- getKey() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns a copy of the encryption key.
- getKey() - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Get the current encryption key.
- getKey() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Get the current encryption key.
- getKey(String, byte[], int, int, PbkdfAlgo) - Method in interface com.mku.salmon.password.ISalmonPbkdfProvider
-
Get a key derived from a text password.
- getKey(String, byte[], int, int, PbkdfAlgo) - Method in class com.mku.salmon.password.SalmonDefaultPbkdfProvider
-
Get a key derived from a text password
- getKeyFromPassword(String, byte[], int, int) - Static method in class com.mku.salmon.password.SalmonPassword
-
Function will derive a key from a text password
- getLastDateTimeModified() - Method in interface com.mku.file.IVirtualFile
- getLastDateTimeModified() - Method in class com.mku.salmon.SalmonFile
-
Returns the last date modified in milliseconds
- getMagicBytes() - Method in class com.mku.salmon.SalmonDriveConfig
-
Get the magic bytes from the config file.
- getMagicBytes() - Static method in class com.mku.salmon.SalmonGenerator
-
Gets the fixed magic bytes array
- getMagicBytes() - Method in class com.mku.salmon.SalmonHeader
-
Get the magic bytes
- getMasterKey() - Method in class com.mku.salmon.SalmonDriveKey
-
Get the master key.
- getMasterKey(String, byte[], int, int) - Static method in class com.mku.salmon.password.SalmonPassword
-
Derives the key from a text password
- getMaxNonce() - Method in class com.mku.salmon.SalmonAuthConfig
-
Get the nonce maximum value the target device will use.
- getMaxNonce() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Get the default max nonce to be used for drives.
- getMaxNonce() - Method in class com.mku.sequence.NonceSequence
-
Get the max nonce.
- getMinimumPartSize() - Method in class com.mku.salmon.SalmonFile
-
Returns the minimum part size that can be encrypted / decrypted in parallel aligning to the integrity chunk size if available.
- getMinimumPartSize(IVirtualFile) - Method in class com.mku.salmon.utils.SalmonFileExporter
- getMinimumPartSize(IVirtualFile) - Method in class com.mku.salmon.utils.SalmonFileImporter
- getMinimumPartSize(IVirtualFile) - Method in class com.mku.utils.FileExporter
- getMinimumPartSize(IVirtualFile) - Method in class com.mku.utils.FileImporter
- getNativeProxy() - Static method in class com.mku.salmon.transform.SalmonNativeTransformer
- getNextNonce() - Method in class com.mku.sequence.NonceSequence
-
Get the next nonce.
- getNonce() - Method in class com.mku.salmon.SalmonHeader
-
Get the nonce.
- getNonce() - Method in class com.mku.salmon.streams.SalmonStream
-
Returns a copy of the nonce.
- getNonce() - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Get the nonce (initial counter) to be used for the data.
- getNonce() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Get the nonce (initial counter)
- getOutputStream() - Method in class com.mku.android.file.AndroidFile
-
Get a stream for writing.
- getOutputStream() - Method in interface com.mku.file.IRealFile
-
Get a stream for writing to the file.
- getOutputStream() - Method in interface com.mku.file.IVirtualFile
- getOutputStream() - Method in class com.mku.file.JavaFile
-
Get a stream for writing to this file.
- getOutputStream() - Method in class com.mku.salmon.SalmonFile
-
Get a
SalmonStream
for encrypting/writing contents using the nonce in the header. - getParent() - Method in class com.mku.android.file.AndroidFile
-
Get the parent directory.
- getParent() - Method in interface com.mku.file.IRealFile
-
Get the parent directory of this file/directory.
- getParent() - Method in interface com.mku.file.IVirtualFile
- getParent() - Method in class com.mku.file.JavaFile
-
Get the parent directory of this file or directory.
- getParent() - Method in class com.mku.salmon.SalmonFile
-
Returns the virtual parent directory
- getPath() - Method in class com.mku.android.file.AndroidFile
-
Get the path.
- getPath() - Method in interface com.mku.file.IRealFile
-
Get the original filepath of this file.
- getPath() - Method in interface com.mku.file.IVirtualFile
- getPath() - Method in class com.mku.file.JavaFile
-
Get the path of this file.
- getPath() - Method in class com.mku.salmon.SalmonFile
-
Return the path of the real file stored
- getPbkdfAlgo() - Static method in class com.mku.salmon.password.SalmonPassword
-
Returns the current global PBKDF algorithm.
- getPbkdfAlgoString(PbkdfAlgo) - Static method in interface com.mku.salmon.password.ISalmonPbkdfProvider
-
Get the PBKDF java cipher algorigthm string.
- getPosition() - Method in class com.mku.android.streams.AndroidFileStream
-
Get the current position of the stream.
- getPosition() - Method in class com.mku.file.JavaFileStream
-
Get the current position of the stream.
- getPosition() - Method in class com.mku.salmon.streams.SalmonStream
-
Provides the position of the stream relative to the data to be transformed.
- getPosition() - Method in class com.mku.streams.MemoryStream
- getPosition() - Method in class com.mku.streams.RandomAccessStream
-
Get the current position of the stream.
- getPositionStart() - Method in class com.mku.salmon.streams.SalmonFileInputStream
- getPrivateDir() - Method in class com.mku.android.salmon.drive.AndroidDrive
-
Get the private directory that will be used for sharing encrypted context with other apps on the android device.
- getPrivateDir() - Method in class com.mku.file.VirtualDrive
- getPrivateDir() - Method in class com.mku.salmon.drive.JavaDrive
-
Get a private dir for sharing files with external applications.
- getProcessedBytes() - Method in class com.mku.utils.FileCommander.RealFileTaskProgress
- getProcessedFiles() - Method in class com.mku.utils.FileCommander.RealFileTaskProgress
- getRealFile() - Method in interface com.mku.file.IVirtualFile
- getRealFile() - Method in class com.mku.salmon.SalmonFile
-
Return the real file
- getRealFile(String, boolean) - Method in class com.mku.android.salmon.drive.AndroidDrive
-
Get the real file hosted on the android device.
- getRealPath() - Method in interface com.mku.file.IVirtualFile
- getRealPath() - Method in class com.mku.salmon.SalmonFile
-
Return the path of the real file
- getRealRoot() - Method in class com.mku.salmon.SalmonDrive
- getRelevanceComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Relevant Comparator.
- getRequestedChunkSize() - Method in class com.mku.salmon.SalmonFile
-
Return the current chunk size requested that will be used for integrity
- getRequestedNonce() - Method in class com.mku.salmon.SalmonFile
-
Get the nonce that is used for encryption/decryption of this file.
- getRoot() - Method in class com.mku.file.VirtualDrive
- getRoot() - Method in class com.mku.salmon.drive.JavaDrive
- getRoot() - Method in class com.mku.salmon.SalmonDrive
-
Return the virtual root directory of the drive.
- getSalmonFile() - Method in class com.mku.android.file.AndroidSharedFileObserver
-
Returns the encrypted salmon file that is associated with the shared file
- getSalt() - Method in class com.mku.salmon.SalmonDriveConfig
-
Get the salt to be used for the password key derivation.
- getSecureRandomBytes(int) - Static method in class com.mku.salmon.SalmonGenerator
-
Returns a secure random byte array.
- getSequence(String) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Get the sequence by the drive ID.
- getSequence(String) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- getSequence(String) - Method in interface com.mku.sequence.INonceSequencer
-
Get the sequence used for this drive.
- GetSequence - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
- getSequenceFile() - Method in class com.mku.salmon.sequence.SalmonFileSequencer
- getSequencer() - Method in class com.mku.salmon.SalmonDrive
-
Get the nonce sequencer used for the current drive.
- getShareDirectoryName() - Static method in class com.mku.salmon.SalmonDrive
- getSIDString(WinNT.PSID) - Static method in class com.mku.salmon.win.sequencer.WinClientSequencer
- getSize() - Method in class com.mku.android.salmon.media.SalmonMediaDataSource
-
Get the content size.
- getSize() - Method in interface com.mku.file.IVirtualFile
- getSize() - Method in class com.mku.salmon.SalmonFile
-
Return the virtual size of the file excluding the header and hash signatures.
- getSize() - Method in class com.mku.salmon.streams.SalmonFileInputStream
-
Get the size of the stream.
- getSizeAscComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Size Ascending Comparator.
- getSizeDescComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get Size Descending Comparator.
- getStartingNonce() - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Get the starting nonce that will be used for encrypt drive files and filenames.
- getStartNonce() - Method in class com.mku.salmon.SalmonAuthConfig
-
Get the nonce starting value the target device will use.
- getStatus() - Method in class com.mku.sequence.NonceSequence
-
Get the sequence status.
- getTag() - Method in class com.mku.salmon.SalmonFile
-
Get the file tag.
- getTotalBytes() - Method in class com.mku.utils.FileCommander.RealFileTaskProgress
- getTotalFiles() - Method in class com.mku.utils.FileCommander.RealFileTaskProgress
- getTotalHashDataLength(long, int, int, int) - Static method in class com.mku.salmon.integrity.SalmonIntegrity
-
Get the total number of bytes for all hash signatures for data of a specific length.
- getTypeAscComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get File Type Ascending Comparator.
- getTypeDescComparator() - Static method in class com.mku.salmon.utils.SalmonFileComparators
-
Get File Type Descending Comparator.
- getVersion() - Static method in class com.mku.salmon.SalmonGenerator
-
Returns the current Salmon format version.
- getVersion() - Method in class com.mku.salmon.SalmonHeader
-
Get the Salmon format version
- getVirtualDriveDirectoryName() - Static method in class com.mku.salmon.SalmonDrive
H
- hasConfig() - Method in class com.mku.salmon.SalmonDrive
-
Return true if the drive is already created and has a configuration file.
- HASH_KEY_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
HASH Key length for integrity, currently we use HMAC SHA256.
- HASH_RESULT_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Hash signature size for integrity, currently we use HMAC SHA256.
- hasIntegrity() - Method in class com.mku.salmon.streams.SalmonStream
-
If the stream has integrity embedded.
- HmacSHA256Provider - Class in com.mku.integrity
-
Provides HMAC SHA-256 hashing.
- HmacSHA256Provider() - Constructor for class com.mku.integrity.HmacSHA256Provider
I
- IBase64 - Interface in com.mku.convert
-
Interface for Base64 conversion implementations.
- IHashProvider - Interface in com.mku.integrity
-
Interface for hashing providers.
- importAuthFile(SalmonDrive, IRealFile) - Static method in class com.mku.salmon.SalmonAuthConfig
-
Import the device authorization file.
- importFile(IRealFile, IVirtualFile, String, boolean, boolean, BiConsumer<Long, Long>) - Method in class com.mku.salmon.utils.SalmonFileImporter
- importFile(IRealFile, IVirtualFile, String, boolean, boolean, BiConsumer<Long, Long>) - Method in class com.mku.utils.FileImporter
-
Imports a real file into the drive.
- importFiles(IRealFile[], IVirtualFile, boolean, boolean, Consumer<FileCommander.RealFileTaskProgress>, Function<IRealFile, String>, BiConsumer<IRealFile, Exception>) - Method in class com.mku.salmon.utils.SalmonFileCommander
- importFiles(IRealFile[], IVirtualFile, boolean, boolean, Consumer<FileCommander.RealFileTaskProgress>, Function<IRealFile, String>, BiConsumer<IRealFile, Exception>) - Method in class com.mku.utils.FileCommander
-
Import files to the drive.
- INativeProxy - Interface in com.mku.bridge
-
Proxy interface for use with native libraries for different platforms and operating systems.
- increaseCounter(long) - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Increase the Counter We use only big endianness for AES regardless of the machine architecture
- increaseNonce(byte[], byte[]) - Static method in class com.mku.salmon.SalmonNonce
-
Increase the sequential NONCE by a value of 1.
- init(byte[], byte[]) - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Initialize the transformer.
- init(byte[], byte[]) - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Initialize the transformer.
- init(byte[], byte[]) - Method in class com.mku.salmon.transform.SalmonAesIntrTransformer
-
Initialize the native Aes intrinsics transformer.
- init(byte[], byte[]) - Method in class com.mku.salmon.transform.SalmonDefaultTransformer
-
Initialize the default Java AES cipher transformer.
- init(byte[], byte[]) - Method in class com.mku.salmon.transform.TinyAesTransformer
-
Initialize the native transformer to use the Tiny AES implementation.
- initFS() - Method in class com.mku.salmon.SalmonDrive
-
Initialize the drive virtual filesystem.
- initialize(int, int) - Method in class com.mku.utils.FileExporter
- initialize(int, int) - Method in class com.mku.utils.FileImporter
-
Constructs a file importer that can be used to import files to the drive
- initialize(IRealFile, boolean) - Method in class com.mku.salmon.SalmonDrive
-
Initialize a virtual drive at the directory path provided
- initialize(Context) - Static method in class com.mku.android.salmon.drive.AndroidDrive
-
Initialize the Android Drive.
- initializeSequence(String, String, byte[], byte[]) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Initialize the sequence.
- initializeSequence(String, String, byte[], byte[]) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- initializeSequence(String, String, byte[], byte[]) - Method in interface com.mku.sequence.INonceSequencer
-
Initialize the sequence.
- InitSequence - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
- INonceSequencer - Interface in com.mku.sequence
-
Nonce sequencer.
- INonceSequenceSerializer - Interface in com.mku.sequence
-
Serializes/Deserializes nonce sequences.
- InputStreamWrapper - Class in com.mku.streams
-
Wrapper stream of RandomAccessStream to a native InputStream implementation.
- InputStreamWrapper(RandomAccessStream) - Constructor for class com.mku.streams.InputStreamWrapper
-
Instantiates an InputStreamWrapper from a RandomAccessStream.
- IntegrityException - Exception in com.mku.integrity
-
Thrown when data are corrupt or tampered with.
- IntegrityException(String) - Constructor for exception com.mku.integrity.IntegrityException
-
Construct an exception with a specific message.
- IntegrityException(String, Exception) - Constructor for exception com.mku.integrity.IntegrityException
-
Construct an exception with a specific message and inner exception
- IRealFile - Interface in com.mku.file
-
Interface that represents a real file.
- isAllowRangeWrite() - Method in class com.mku.salmon.streams.SalmonStream
-
Get the allowed range write option.
- ISalmonCTRTransformer - Interface in com.mku.salmon.transform
-
Contract for the encryption/decryption transformers.
- ISalmonPbkdfProvider - Interface in com.mku.salmon.password
-
Provides key derivation based on text passwords.
- isAudio(String) - Static method in class com.mku.utils.FileUtils
-
Detect if filename is an audio file.
- isDirectory() - Method in class com.mku.android.file.AndroidFile
-
True if it is a directory.
- isDirectory() - Method in interface com.mku.file.IRealFile
-
True if this is a directory.
- isDirectory() - Method in interface com.mku.file.IVirtualFile
- isDirectory() - Method in class com.mku.file.JavaFile
-
True if this is a directory.
- isDirectory() - Method in class com.mku.salmon.SalmonFile
-
Returns True if this is a directory
- isFile() - Method in class com.mku.android.file.AndroidFile
-
True if it is a file.
- isFile() - Method in interface com.mku.file.IRealFile
-
True if this is a file.
- isFile() - Method in interface com.mku.file.IVirtualFile
- isFile() - Method in class com.mku.file.JavaFile
-
True if this is a file.
- isFile() - Method in class com.mku.salmon.SalmonFile
-
Returns true if this is a file
- isFileSearcherRunning() - Method in class com.mku.utils.FileCommander
-
True if the file search is currently running.
- isFileSearcherStopped() - Method in class com.mku.utils.FileCommander
-
True if file search stopped.
- isImage(String) - Static method in class com.mku.utils.FileUtils
-
Detect if filename is an image file.
- isIntegrityEnabled() - Method in class com.mku.salmon.streams.SalmonStream
-
True if the stream has integrity enabled.
- isPdf(String) - Static method in class com.mku.utils.FileUtils
-
Detect if filename is a pdf file.
- isRunning() - Method in class com.mku.utils.FileCommander
-
True if jobs are currently running.
- isRunning() - Method in class com.mku.utils.FileExporter
- isRunning() - Method in class com.mku.utils.FileImporter
-
True if importer is currently running a job.
- isRunning() - Method in class com.mku.utils.FileSearcher
-
True if a search is running.
- isServiceAdmin(String) - Static method in class com.mku.salmon.win.sequencer.WinClientSequencer
- isStopped() - Method in class com.mku.utils.FileSearcher
-
True if last search was stopped by user.
- isText(String) - Static method in class com.mku.utils.FileUtils
-
Detect if filename is a text file.
- isVideo(String) - Static method in class com.mku.utils.FileUtils
-
Detect if filename is a video file.
- ITERATIONS_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Length for the iterations that will be stored in the encrypted data header.
- IV_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Initial vector length that will be used for encryption and master encryption of the combined key
- IVirtualFile - Interface in com.mku.file
J
- JavaDrive - Class in com.mku.salmon.drive
-
SalmonDrive implementation for standard Java file API.
- JavaFile - Class in com.mku.file
-
Salmon RealFile implementation for Java.
- JavaFile(String) - Constructor for class com.mku.file.JavaFile
-
Instantiate a real file represented by the filepath provided.
- JavaFileStream - Class in com.mku.file
-
An advanced Salmon File Stream implementation for java files.
- JavaFileStream(JavaFile, String) - Constructor for class com.mku.file.JavaFileStream
-
Construct a file stream from a JavaFile.
K
- KEY_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Encryption key length for AES256.
L
- lastModified() - Method in class com.mku.android.file.AndroidFile
-
Get the last modified date in milliseconds.
- lastModified() - Method in interface com.mku.file.IRealFile
-
Get the last modified date of the file.
- lastModified() - Method in class com.mku.file.JavaFile
-
Get the last modified date on disk.
- length() - Method in class com.mku.android.file.AndroidFile
-
Get the size of the file.
- length() - Method in class com.mku.android.streams.AndroidFileStream
-
Get the length of the stream.
- length() - Method in interface com.mku.file.IRealFile
-
Get the length for the file.
- length() - Method in class com.mku.file.JavaFile
-
Get the size of the file on disk.
- length() - Method in class com.mku.file.JavaFileStream
-
Get the length of the stream.
- length() - Method in class com.mku.salmon.streams.SalmonStream
-
Provides the length of the actual transformed data (minus the header and integrity data).
- length() - Method in class com.mku.streams.MemoryStream
- length() - Method in class com.mku.streams.RandomAccessStream
-
Get the length of the stream.
- listFiles() - Method in class com.mku.android.file.AndroidFile
-
List files and directories.
- listFiles() - Method in interface com.mku.file.IRealFile
-
Get all files and directories under this directory.
- listFiles() - Method in interface com.mku.file.IVirtualFile
- listFiles() - Method in class com.mku.file.JavaFile
-
List all files under this directory.
- listFiles() - Method in class com.mku.salmon.SalmonFile
-
Lists files and directories under this directory
- loadLibrary() - Method in class com.mku.salmon.bridge.NativeProxy
-
Load the native library
M
- MAGIC_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Lenght for the magic bytes.
- MASTER_KEY_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Master key to encrypt the combined key we also use AES256.
- MAX_CHUNK_SIZE - Static variable in class com.mku.salmon.integrity.SalmonIntegrity
-
Maximum chunk size for data integrity.
- MemoryStream - Class in com.mku.streams
-
Memory Stream for seeking, reading, and writing to a memory buffer (modeled after C# MemoryStream).
- MemoryStream() - Constructor for class com.mku.streams.MemoryStream
-
Create a memory stream.
- MemoryStream(byte[]) - Constructor for class com.mku.streams.MemoryStream
-
Create a memory stream.
- mkdir() - Method in class com.mku.android.file.AndroidFile
-
Create this directory.
- mkdir() - Method in interface com.mku.file.IRealFile
-
Create a directory with the current filepath.
- mkdir() - Method in interface com.mku.file.IVirtualFile
- mkdir() - Method in class com.mku.file.JavaFile
-
Create this directory under the current filepath.
- mkdir() - Method in class com.mku.salmon.SalmonFile
-
Create this directory.
- move(IRealFile) - Method in class com.mku.android.file.AndroidFile
-
Move this file to another directory.
- move(IRealFile) - Method in interface com.mku.file.IRealFile
-
Move this file to another directory.
- move(IRealFile) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- move(IRealFile, String) - Method in class com.mku.android.file.AndroidFile
-
Move this file to another directory.
- move(IRealFile, String) - Method in interface com.mku.file.IRealFile
-
Move this file to another directory.
- move(IRealFile, String) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- move(IRealFile, String, BiConsumer<Long, Long>) - Method in class com.mku.android.file.AndroidFile
-
Move this file to another directory.
- move(IRealFile, String, BiConsumer<Long, Long>) - Method in interface com.mku.file.IRealFile
-
Move this file to another directory.
- move(IRealFile, String, BiConsumer<Long, Long>) - Method in class com.mku.file.JavaFile
-
Move this file or directory under a new directory.
- move(IVirtualFile, BiConsumer<Long, Long>) - Method in interface com.mku.file.IVirtualFile
- move(IVirtualFile, BiConsumer<Long, Long>) - Method in class com.mku.salmon.SalmonFile
-
Move file to another directory.
- moveRecursively(IRealFile) - Method in interface com.mku.file.IRealFile
-
Move a directory recursively
- moveRecursively(IRealFile, TriConsumer<IRealFile, Long, Long>, Function<IRealFile, String>, boolean, BiConsumer<IRealFile, Exception>) - Method in interface com.mku.file.IRealFile
-
Move a directory recursively
- moveRecursively(IVirtualFile, TriConsumer<IVirtualFile, Long, Long>, Function<IVirtualFile, String>, boolean, BiConsumer<IVirtualFile, Exception>) - Method in interface com.mku.file.IVirtualFile
- moveRecursively(IVirtualFile, TriConsumer<IVirtualFile, Long, Long>, Function<IVirtualFile, String>, boolean, BiConsumer<IVirtualFile, Exception>) - Method in class com.mku.salmon.SalmonFile
-
Move a directory recursively
N
- NativeProxy - Class in com.mku.salmon.bridge
-
Proxy class for use with windows native library.
- NativeProxy() - Constructor for class com.mku.salmon.bridge.NativeProxy
- New - Enum constant in enum class com.mku.sequence.NonceSequence.Status
-
Newly created sequence.
- nextNonce(String) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Get the next nonce.
- nextNonce(String) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- nextNonce(String) - Method in interface com.mku.sequence.INonceSequencer
-
Get the next nonce.
- NextNonce - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
- NONCE_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Nonce size.
- NonceSequence - Class in com.mku.sequence
-
Represents a nonce sequence for a specific device.
- NonceSequence(String, String, byte[], byte[], NonceSequence.Status) - Constructor for class com.mku.sequence.NonceSequence
-
Instantiate a nonce sequence with the provided authorization id.
- NonceSequence.Status - Enum Class in com.mku.sequence
-
Sequencer status.
O
- onEvent(int, String) - Method in class com.mku.android.file.AndroidSharedFileObserver
-
When a file event happens.
- onPrepare(IVirtualFile, boolean) - Method in class com.mku.salmon.utils.SalmonFileExporter
- onPrepare(IVirtualFile, boolean) - Method in class com.mku.salmon.utils.SalmonFileImporter
- onPrepare(IVirtualFile, boolean) - Method in class com.mku.utils.FileExporter
- onPrepare(IVirtualFile, boolean) - Method in class com.mku.utils.FileImporter
- onResultFound(IVirtualFile) - Method in interface com.mku.utils.FileSearcher.OnResultFoundListener
-
Fired when search result found.
- onUnlockError() - Method in class com.mku.android.salmon.drive.AndroidDrive
-
Fired when unlock fails.
- onUnlockError() - Method in class com.mku.file.VirtualDrive
-
Method is called when unlocking the drive has failed
- onUnlockError() - Method in class com.mku.salmon.drive.JavaDrive
-
When authentication succeeds.
- onUnlockSuccess() - Method in class com.mku.android.salmon.drive.AndroidDrive
-
Fired when unlock succeeds.
- onUnlockSuccess() - Method in class com.mku.file.VirtualDrive
-
Method is called when the user is authenticated
- onUnlockSuccess() - Method in class com.mku.salmon.drive.JavaDrive
-
When authentication succeed.
- open(IRealFile, String, INonceSequencer) - Static method in class com.mku.salmon.drive.JavaDrive
-
Helper method that opens and initializes a JavaDrive
- openConnection(URL) - Method in class com.mku.salmon.service.SalmonStreamHandler
-
Open a local SalmonStreamConnection
- openDrive(IRealFile, Class<?>, String, INonceSequencer) - Static method in class com.mku.salmon.SalmonDrive
-
Set the drive location to an external directory.
P
- parseHeaderData(RandomAccessStream) - Static method in class com.mku.salmon.SalmonHeader
-
Parse the header data from the stream
- PBKDF_SHA1 - Static variable in interface com.mku.salmon.password.ISalmonPbkdfProvider
-
Deprecated.
- PBKDF_SHA256 - Static variable in interface com.mku.salmon.password.ISalmonPbkdfProvider
-
Java Cipher key for SHA256.
- PbkdfAlgo - Enum Class in com.mku.salmon.password
-
Pbkdf algorithm implementation type.
- PbkdfType - Enum Class in com.mku.salmon.password
-
Pbkdf implementation type.
- ProviderType - Enum Class in com.mku.salmon.streams
-
AES provider types.
R
- RandomAccessStream - Class in com.mku.streams
-
Base class for read-write seekable streams.
- RandomAccessStream() - Constructor for class com.mku.streams.RandomAccessStream
- RandomAccessStream.SeekOrigin - Enum Class in com.mku.streams
-
Used to identify the start offset for seeking to a stream.
- read() - Method in class com.mku.salmon.streams.SalmonFileInputStream
-
Read a byte from the stream.
- read() - Method in class com.mku.streams.InputStreamWrapper
-
Read a byte from the stream.
- read(byte[], int, int) - Method in class com.mku.android.streams.AndroidFileStream
-
Read data from the stream into the buffer.
- read(byte[], int, int) - Method in class com.mku.file.JavaFileStream
-
Read data from the file stream into the buffer provided.
- read(byte[], int, int) - Method in class com.mku.salmon.streams.SalmonFileInputStream
-
Reads and decrypts the contents of an encrypted file
- read(byte[], int, int) - Method in class com.mku.salmon.streams.SalmonStream
-
Decrypts the data from the baseStream and stores them in the buffer provided.
- read(byte[], int, int) - Method in class com.mku.streams.InputStreamWrapper
-
Read a sequance of bytes from the base stream into the buffer provided.
- read(byte[], int, int) - Method in class com.mku.streams.MemoryStream
-
Read a sequence of bytes into the provided buffer.
- read(byte[], int, int) - Method in class com.mku.streams.RandomAccessStream
- read(String) - Method in class com.mku.salmon.win.registry.SalmonRegistry
-
Read a value from the registry
- readAt(long, byte[], int, int) - Method in class com.mku.android.salmon.media.SalmonMediaDataSource
-
Decrypts and reads the contents of an encrypted file
- register(String, IVirtualFile) - Method in class com.mku.salmon.service.SalmonStreamHandler
- removeFileObserver(File) - Static method in class com.mku.android.file.AndroidSharedFileObserver
-
Remove the shared filed associated with this observer.
- rename(String) - Method in interface com.mku.file.IVirtualFile
- rename(String) - Method in class com.mku.salmon.SalmonFile
-
Rename the virtual file name
- rename(String, byte[]) - Method in class com.mku.salmon.SalmonFile
-
Rename the virtual file name
- renameFile(IVirtualFile, String) - Method in class com.mku.utils.FileCommander
-
Rename an encrypted file
- renameTo(String) - Method in class com.mku.android.file.AndroidFile
-
Rename file.
- renameTo(String) - Method in interface com.mku.file.IRealFile
-
Rename file.
- renameTo(String) - Method in class com.mku.file.JavaFile
-
Rename the current file or directory.
- reset() - Method in class com.mku.salmon.streams.SalmonFileInputStream
- reset() - Method in class com.mku.streams.InputStreamWrapper
-
Reset the stream.
- reset(boolean) - Method in class com.mku.salmon.win.sequencer.WinFileSequencer
-
Reset the sequences.
- resetCounter() - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Reset the counter to the nonce (initial counter).
- resetCounter() - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Resets the Counter and the block count.
- revokeAuthorization() - Method in class com.mku.salmon.SalmonDrive
-
Revoke authorization for this device.
- Revoked - Enum constant in enum class com.mku.sequence.NonceSequence.Status
-
Revoked sequence.
- revokeSequence(String) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Revoke the current sequence for a specific drive.
- revokeSequence(String) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- revokeSequence(String) - Method in interface com.mku.sequence.INonceSequencer
-
Revoke the sequencer.
- RevokeSequence - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
S
- SalmonAES256CTRTransformer - Class in com.mku.salmon.transform
-
Abstract class for AES256 transformer implementations.
- SalmonAES256CTRTransformer() - Constructor for class com.mku.salmon.transform.SalmonAES256CTRTransformer
- SalmonAesIntrTransformer - Class in com.mku.salmon.transform
-
Salmon AES transformer implemented with AES intrinsics.
- SalmonAesIntrTransformer() - Constructor for class com.mku.salmon.transform.SalmonAesIntrTransformer
- SalmonAuthConfig - Class in com.mku.salmon
-
Device Authorization Configuration.
- SalmonAuthConfig(byte[]) - Constructor for class com.mku.salmon.SalmonAuthConfig
-
Instantiate a class with the properties of the authorization config file.
- SalmonAuthException - Exception in com.mku.salmon
-
Thrown when there is a failure in the nonce sequencer.
- SalmonAuthException(String) - Constructor for exception com.mku.salmon.SalmonAuthException
-
Construct an exception with a specific message.
- SalmonAuthException(String, Exception) - Constructor for exception com.mku.salmon.SalmonAuthException
-
Construct an exception with a specific message and inner exception
- SalmonDecryptor - Class in com.mku.salmon
-
Utility class that decrypts byte arrays.
- SalmonDecryptor() - Constructor for class com.mku.salmon.SalmonDecryptor
-
Instantiate an encryptor.
- SalmonDecryptor(int) - Constructor for class com.mku.salmon.SalmonDecryptor
-
Instantiate an encryptor with parallel tasks and buffer size.
- SalmonDecryptor(int, int) - Constructor for class com.mku.salmon.SalmonDecryptor
-
Instantiate an encryptor with parallel tasks and buffer size.
- SalmonDefaultOptions - Class in com.mku.salmon
-
Global options for salmon operations.
- SalmonDefaultOptions() - Constructor for class com.mku.salmon.SalmonDefaultOptions
- SalmonDefaultPbkdfProvider - Class in com.mku.salmon.password
-
Provides pbkdf algorithm.
- SalmonDefaultPbkdfProvider() - Constructor for class com.mku.salmon.password.SalmonDefaultPbkdfProvider
- SalmonDefaultTransformer - Class in com.mku.salmon.transform
-
Salmon AES transformer based on the javax.crypto routines.
- SalmonDefaultTransformer() - Constructor for class com.mku.salmon.transform.SalmonDefaultTransformer
- SalmonDrive - Class in com.mku.salmon
-
Class provides an abstract virtual drive that can be extended for use with any filesystem ie disk, net, cloud, etc.
- SalmonDrive() - Constructor for class com.mku.salmon.SalmonDrive
- SalmonDriveConfig - Class in com.mku.salmon
-
Represents a configuration file for a drive.
- SalmonDriveConfig(byte[]) - Constructor for class com.mku.salmon.SalmonDriveConfig
-
Provide a class that hosts the properties of the drive config file
- SalmonDriveGenerator - Class in com.mku.salmon
-
Utility class generates internal secure properties for the drive.
- SalmonDriveGenerator() - Constructor for class com.mku.salmon.SalmonDriveGenerator
- SalmonDriveKey - Class in com.mku.salmon
-
Encryption keys and properties.
- SalmonDriveKey() - Constructor for class com.mku.salmon.SalmonDriveKey
- SalmonEncoder - Class in com.mku.salmon.encode
-
Provides generic Base64 encoder utility.
- SalmonEncoder() - Constructor for class com.mku.salmon.encode.SalmonEncoder
- SalmonEncryptor - Class in com.mku.salmon
-
Encrypts byte arrays.
- SalmonEncryptor() - Constructor for class com.mku.salmon.SalmonEncryptor
-
Instantiate an encryptor.
- SalmonEncryptor(int) - Constructor for class com.mku.salmon.SalmonEncryptor
-
Instantiate an encryptor with parallel tasks and buffer size.
- SalmonEncryptor(int, int) - Constructor for class com.mku.salmon.SalmonEncryptor
-
Instantiate an encryptor with parallel tasks and buffer size.
- salmonExpandKey(byte[], byte[]) - Method in interface com.mku.bridge.INativeProxy
-
Proxy Key schedule algorithm for expanding the 32 byte key to 240 bytes required for AES 256.
- salmonExpandKey(byte[], byte[]) - Method in class com.mku.salmon.bridge.NativeProxy
-
Proxy Key schedule algorithm for expanding the 32 byte key to 240 bytes required
- SalmonFile - Class in com.mku.salmon
-
A virtual file backed by an encrypted
IRealFile
on the real filesystem. - SalmonFile(IRealFile) - Constructor for class com.mku.salmon.SalmonFile
-
Provides a file handle that can be used to create encrypted files.
- SalmonFile(IRealFile, SalmonDrive) - Constructor for class com.mku.salmon.SalmonFile
-
Provides a file handle that can be used to create encrypted files.
- SalmonFileCommander - Class in com.mku.salmon.utils
-
Facade class for file operations.
- SalmonFileCommander(int, int, int) - Constructor for class com.mku.salmon.utils.SalmonFileCommander
-
Instantiate a new file commander object.
- SalmonFileComparators - Class in com.mku.salmon.utils
-
Useful comparators for SalmonFile.
- SalmonFileComparators() - Constructor for class com.mku.salmon.utils.SalmonFileComparators
- SalmonFileExporter - Class in com.mku.salmon.utils
- SalmonFileExporter(int, int) - Constructor for class com.mku.salmon.utils.SalmonFileExporter
- SalmonFileImporter - Class in com.mku.salmon.utils
- SalmonFileImporter(int, int) - Constructor for class com.mku.salmon.utils.SalmonFileImporter
- SalmonFileInputStream - Class in com.mku.salmon.streams
-
Implementation of a Java InputStream for seeking and reading a SalmonFile.
- SalmonFileInputStream(SalmonFile, int, int, int, int) - Constructor for class com.mku.salmon.streams.SalmonFileInputStream
-
Instantiate a seekable stream from an encrypted file source
- SalmonFileInputStream.CacheBuffer - Class in com.mku.salmon.streams
-
Class will be used to cache decrypted data that can later be read via the ReadAt() method without requesting frequent decryption reads.
- SalmonFileSequencer - Class in com.mku.salmon.sequence
-
Generates nonces based on a sequencer backed by a file.
- SalmonFileSequencer(IRealFile, INonceSequenceSerializer) - Constructor for class com.mku.salmon.sequence.SalmonFileSequencer
-
Instantiate a nonce file sequencer.
- SalmonGenerator - Class in com.mku.salmon
-
Utility class that generates secure random byte arrays.
- SalmonGenerator() - Constructor for class com.mku.salmon.SalmonGenerator
- SalmonHeader - Class in com.mku.salmon
-
Header embedded in the SalmonStream.
- SalmonHeader() - Constructor for class com.mku.salmon.SalmonHeader
- salmonInit(int) - Method in interface com.mku.bridge.INativeProxy
-
Proxy Init the native code with AES implementation, and hash length options.
- salmonInit(int) - Method in class com.mku.salmon.bridge.NativeProxy
-
Proxy Init the native code with AES implementation, and hash length options.
- SalmonIntegrity - Class in com.mku.salmon.integrity
-
Provide operations for calculating, storing, and verifying data integrity.
- SalmonIntegrity(boolean, byte[], Integer, IHashProvider, int) - Constructor for class com.mku.salmon.integrity.SalmonIntegrity
-
Instantiate an object to be used for applying and verifying hash signatures for each of the data chunks.
- SalmonMediaDataSource - Class in com.mku.android.salmon.media
-
This class provides a parallel processing seekable source for encrypted media content
- SalmonMediaDataSource(Activity, SalmonFile, int, int, int, int) - Constructor for class com.mku.android.salmon.media.SalmonMediaDataSource
-
Construct a seekable source for the media player from an encrypted file source
- SalmonNativeTransformer - Class in com.mku.salmon.transform
-
Generic Native AES transformer.
- SalmonNativeTransformer() - Constructor for class com.mku.salmon.transform.SalmonNativeTransformer
- SalmonNonce - Class in com.mku.salmon
-
Utility provides nonce operations.
- SalmonNonce() - Constructor for class com.mku.salmon.SalmonNonce
- SalmonPassword - Class in com.mku.salmon.password
-
Generates security keys based on text passwords.
- SalmonPassword() - Constructor for class com.mku.salmon.password.SalmonPassword
- SalmonPbkdfFactory - Class in com.mku.salmon.password
-
Creates AES transformer implementations.
- SalmonPbkdfFactory() - Constructor for class com.mku.salmon.password.SalmonPbkdfFactory
- SalmonRangeExceededException - Exception in com.mku.salmon
-
Thrown when maximum nonce range is exceeded.
- SalmonRangeExceededException(String) - Constructor for exception com.mku.salmon.SalmonRangeExceededException
-
Construct an exception with a specific message.
- SalmonRegistry - Class in com.mku.salmon.win.registry
-
Read and Write to Windows registry
- SalmonRegistry() - Constructor for class com.mku.salmon.win.registry.SalmonRegistry
- SalmonSecurityException - Exception in com.mku.salmon
-
Salmon generic security exception.
- SalmonSecurityException(String) - Constructor for exception com.mku.salmon.SalmonSecurityException
-
Construct an exception with a specific message.
- SalmonSecurityException(String, Exception) - Constructor for exception com.mku.salmon.SalmonSecurityException
-
Construct an exception with a specific message and inner exception.
- SalmonSequenceSerializer - Class in com.mku.salmon.sequence
-
Serializes sequences for all the drives the device is authorized.
- SalmonSequenceSerializer() - Constructor for class com.mku.salmon.sequence.SalmonSequenceSerializer
- SalmonStream - Class in com.mku.salmon.streams
-
Stream decorator provides AES256 encryption and decryption of stream.
- SalmonStream(byte[], byte[], EncryptionMode, RandomAccessStream) - Constructor for class com.mku.salmon.streams.SalmonStream
-
Instantiate a new Salmon stream with a plain base stream.
- SalmonStream(byte[], byte[], EncryptionMode, RandomAccessStream, byte[]) - Constructor for class com.mku.salmon.streams.SalmonStream
-
Instantiate a new Salmon stream with a base stream and embedded header data.
- SalmonStream(byte[], byte[], EncryptionMode, RandomAccessStream, byte[], boolean, Integer, byte[]) - Constructor for class com.mku.salmon.streams.SalmonStream
-
Instantiate a new Salmon stream with a base stream and optional header data and hash integrity.
- SalmonStreamHandler - Class in com.mku.salmon.service
-
Provides a local stream handler to read a
SalmonFile
as a source to apps that cannot useSalmonFileInputStream
directly. - SalmonStreamHandler() - Constructor for class com.mku.salmon.service.SalmonStreamHandler
- SalmonTextDecryptor - Class in com.mku.salmon.text
-
Utility class that encrypts and decrypts text strings.
- SalmonTextDecryptor() - Constructor for class com.mku.salmon.text.SalmonTextDecryptor
- SalmonTextEncryptor - Class in com.mku.salmon.text
-
Utility class that encrypts and decrypts text strings.
- SalmonTextEncryptor() - Constructor for class com.mku.salmon.text.SalmonTextEncryptor
- salmonTransform(byte[], byte[], byte[], int, byte[], int, int) - Method in interface com.mku.bridge.INativeProxy
-
Proxy Transform the input byte array using AES-256 CTR mode
- salmonTransform(byte[], byte[], byte[], int, byte[], int, int) - Method in class com.mku.salmon.bridge.NativeProxy
-
Proxy Transform the input byte array using AES-256 CTR mode
- SalmonTransformerFactory - Class in com.mku.salmon.transform
-
Creates an AES transformer object.
- SalmonTransformerFactory() - Constructor for class com.mku.salmon.transform.SalmonTransformerFactory
- SALT_LENGTH - Static variable in class com.mku.salmon.SalmonDriveGenerator
-
Salt length.
- saveContents(String) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Save the contents of the file
- saveContents(String) - Method in class com.mku.salmon.win.sequencer.WinFileSequencer
-
Save contents to the file and checksum to registry.
- saveSequenceFile(HashMap<String, NonceSequence>) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Save the sequence file.
- search(IVirtualFile, String, boolean, FileSearcher.OnResultFoundListener, Consumer<FileSearcher.SearchEvent>) - Method in class com.mku.utils.FileCommander
-
Search
- search(IVirtualFile, String, boolean, FileSearcher.OnResultFoundListener, Consumer<FileSearcher.SearchEvent>) - Method in class com.mku.utils.FileSearcher
-
Search files in directory and its subdirectories recursively for matching terms.
- SearchingFiles - Enum constant in enum class com.mku.utils.FileSearcher.SearchEvent
- SearchingFinished - Enum constant in enum class com.mku.utils.FileSearcher.SearchEvent
- seek(long, RandomAccessStream.SeekOrigin) - Method in class com.mku.android.streams.AndroidFileStream
-
Seek to the requested position.
- seek(long, RandomAccessStream.SeekOrigin) - Method in class com.mku.file.JavaFileStream
-
Seek to the offset provided.
- seek(long, RandomAccessStream.SeekOrigin) - Method in class com.mku.salmon.streams.SalmonStream
-
Seek to a specific position on the stream.
- seek(long, RandomAccessStream.SeekOrigin) - Method in class com.mku.streams.MemoryStream
-
Seek to a position in the stream.
- seek(long, RandomAccessStream.SeekOrigin) - Method in class com.mku.streams.RandomAccessStream
-
Seek to a specific position in the stream.
- separator - Static variable in class com.mku.salmon.SalmonFile
- SequenceException - Exception in com.mku.sequence
-
Thrown when there is a failure in the nonce sequencer.
- SequenceException(String) - Constructor for exception com.mku.sequence.SequenceException
-
Construct an exception with a specific message.
- SequenceException(String, Exception) - Constructor for exception com.mku.sequence.SequenceException
-
Construct an exception with a specific message and inner exception
- serialize(HashMap<String, NonceSequence>) - Method in class com.mku.android.sequence.AndroidSequenceSerializer
-
Serialize nonce sequences.
- serialize(HashMap<String, NonceSequence>) - Method in class com.mku.salmon.sequence.SalmonSequenceSerializer
-
Serialize the sequences to an XML string.
- serialize(HashMap<String, NonceSequence>) - Method in interface com.mku.sequence.INonceSequenceSerializer
-
Generates the contents from sequences.
- setAesProviderType(ProviderType) - Static method in class com.mku.salmon.streams.SalmonStream
-
Set the global AES provider type.
- setAllowOverwrite(boolean) - Method in class com.mku.salmon.SalmonFile
-
Warning! Allow overwriting on a current stream.
- setAllowRangeWrite(boolean) - Method in class com.mku.salmon.streams.SalmonStream
-
Warning! Allow byte range encryption writes on a current stream.
- setApplyIntegrity(boolean, byte[], Integer) - Method in class com.mku.salmon.SalmonFile
-
Enable integrity with this file.
- setAuthConfigFilename(String) - Static method in class com.mku.salmon.SalmonDrive
- setBase64(IBase64) - Static method in class com.mku.salmon.encode.SalmonEncoder
-
Change the current global Base64 implementation.
- setBufferSize(int) - Method in class com.mku.salmon.streams.SalmonStream
-
Set the internal buffer size.
- setCheckSumKey(String) - Method in class com.mku.salmon.win.sequencer.WinFileSequencer
-
Set the registry key to save the checksum.
- setChunkSize(int) - Method in class com.mku.salmon.SalmonHeader
-
Set the header chunk size
- setConfigFilename(String) - Static method in class com.mku.salmon.SalmonDrive
- setDefaultFileChunkSize(int) - Method in class com.mku.salmon.SalmonDrive
-
Set the default file chunk size to be used with hash integrity.
- setDriveKey(byte[]) - Method in class com.mku.salmon.SalmonDriveKey
-
Set the drive key.
- setEncryptionKey(byte[]) - Method in class com.mku.salmon.SalmonFile
-
Sets the encryption key
- setExpandedKey(byte[]) - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Set the expanded key.
- setExportDirectoryName(String) - Static method in class com.mku.salmon.SalmonDrive
- setFailSilently(boolean) - Method in class com.mku.salmon.streams.SalmonStream
-
Set to True if you want the stream to fail silently when integrity cannot be verified.
- setHashKey(byte[]) - Method in class com.mku.salmon.SalmonDriveKey
-
Set the hash key.
- setIterations(int) - Static method in class com.mku.salmon.SalmonDriveGenerator
-
Set the default iterations.
- setIterations(int) - Method in class com.mku.salmon.SalmonDriveKey
-
Set the number of iterations for the master key derivation.
- setLength(long) - Method in class com.mku.android.streams.AndroidFileStream
-
Set the length of the stream.
- setLength(long) - Method in class com.mku.file.JavaFileStream
-
Set the length of the stream.
- setLength(long) - Method in class com.mku.salmon.streams.SalmonStream
-
Set the length of the base stream.
- setLength(long) - Method in class com.mku.streams.MemoryStream
-
Changes the length of the stream.
- setLength(long) - Method in class com.mku.streams.RandomAccessStream
-
Set the length of this stream.
- setMasterKey(byte[]) - Method in class com.mku.salmon.SalmonDriveKey
-
Set the master key.
- setMaxNonce(byte[]) - Method in class com.mku.sequence.NonceSequence
-
Set the max nonce.
- setMaxNonce(String, String, byte[]) - Method in class com.mku.salmon.sequence.SalmonFileSequencer
-
Set the maximum nonce.
- setMaxNonce(String, String, byte[]) - Method in class com.mku.salmon.win.sequencer.WinClientSequencer
- setMaxNonce(String, String, byte[]) - Method in interface com.mku.sequence.INonceSequencer
-
Set the max nonce
- SetMaxNonce - Enum constant in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
- setNativeProxy(INativeProxy) - Static method in class com.mku.salmon.transform.SalmonNativeTransformer
-
The native proxy to use for loading libraries for different platforms and operating systems.
- setNextNonce(byte[]) - Method in class com.mku.sequence.NonceSequence
-
Set the next nonce.
- setNonce(byte[]) - Method in class com.mku.salmon.SalmonHeader
-
Set the nonce to be used.
- setPassword(String) - Method in class com.mku.salmon.SalmonDrive
-
Change the user password.
- setPbkdfAlgo(PbkdfAlgo) - Static method in class com.mku.salmon.password.SalmonPassword
-
Set the global PDKDF algorithm to be used for key derivation.
- setPbkdfProvider(ISalmonPbkdfProvider) - Static method in class com.mku.salmon.password.SalmonPassword
-
Set the global PBKDF provider to be used for text key derivation.
- setPbkdfType(PbkdfType) - Static method in class com.mku.salmon.password.SalmonPassword
-
Set the global PBKDF implementation to be used for text key derivation.
- setPosition(long) - Method in class com.mku.android.streams.AndroidFileStream
-
Set the current position of the stream.
- setPosition(long) - Method in class com.mku.file.JavaFileStream
-
Set the current position of the stream.
- setPosition(long) - Method in class com.mku.salmon.streams.SalmonStream
-
Sets the current position of the stream relative to the data to be transformed.
- setPosition(long) - Method in class com.mku.streams.MemoryStream
-
Changes the current position of the stream.
- setPosition(long) - Method in class com.mku.streams.RandomAccessStream
-
Change the current position of the stream.
- setPositionEnd(long) - Method in class com.mku.salmon.streams.SalmonFileInputStream
- setPositionStart(long) - Method in class com.mku.salmon.streams.SalmonFileInputStream
- setRequestedNonce(byte[]) - Method in class com.mku.salmon.SalmonFile
-
Set the nonce for encryption/decryption for this file.
- setSalmonFile(SalmonFile) - Method in class com.mku.android.file.AndroidSharedFileObserver
-
Set the salmon file associated with the shared file to observer.
- setSequencer(INonceSequencer) - Method in class com.mku.salmon.SalmonDrive
-
Set the nonce sequencer used for the current drive.
- setShareDirectoryName(String) - Static method in class com.mku.salmon.SalmonDrive
- setStatus(NonceSequence.Status) - Method in class com.mku.sequence.NonceSequence
-
Set the sequence status.
- setTag(Object) - Method in class com.mku.salmon.SalmonFile
-
Set the tag for this file.
- setVerifyIntegrity(boolean, byte[]) - Method in class com.mku.salmon.SalmonFile
-
Enabled verification of file integrity during read() and write()
- setVersion(byte) - Method in class com.mku.salmon.SalmonHeader
-
Set the Salmon format version
- setVirtualDriveDirectoryName(String) - Static method in class com.mku.salmon.SalmonDrive
- SHA1 - Enum constant in enum class com.mku.salmon.password.PbkdfAlgo
-
Deprecated.
- SHA256 - Enum constant in enum class com.mku.salmon.password.PbkdfAlgo
-
SHA256 hashing.
- skip(long) - Method in class com.mku.salmon.streams.SalmonFileInputStream
-
Skip a number of bytes.
- skip(long) - Method in class com.mku.streams.InputStreamWrapper
-
Skip number of bytes on the stream.
- splitNonceRange(byte[], byte[]) - Static method in class com.mku.salmon.SalmonNonce
-
Returns the middle nonce in the provided range.
- startPos - Variable in class com.mku.salmon.streams.SalmonFileInputStream.CacheBuffer
- stop() - Method in class com.mku.utils.FileExporter
- stop() - Method in class com.mku.utils.FileImporter
-
Stops all current importing tasks
- stop() - Method in class com.mku.utils.FileSearcher
- stopFileSearch() - Method in class com.mku.utils.FileCommander
-
Stop file search.
- Supplier<R> - Interface in com.mku.func
-
Backwards compatibility Function class for devices with Android 23 and prior.
- syncCounter(long) - Method in interface com.mku.salmon.transform.ISalmonCTRTransformer
-
Calculate the value of the counter based on the current block.
- syncCounter(long) - Method in class com.mku.salmon.transform.SalmonAES256CTRTransformer
-
Syncs the Counter based on what AES block position the stream is at.
T
- TinyAES - Enum constant in enum class com.mku.salmon.streams.ProviderType
-
Tiny AES implementation.
- TinyAesTransformer - Class in com.mku.salmon.transform
-
Salmon AES transformer implemented with TinyAES backend.
- TinyAesTransformer() - Constructor for class com.mku.salmon.transform.TinyAesTransformer
- toArray() - Method in class com.mku.streams.MemoryStream
-
Convert the stream to an array:
- toBytes(long, int) - Static method in class com.mku.convert.BitConverter
-
Converts a long value to byte array.
- toBytes(String) - Static method in class com.mku.convert.BitConverter
-
Convert a hex string to a byte array.
- toHex(byte[]) - Static method in class com.mku.convert.BitConverter
-
Convert a byte array to a hex representation.
- toLong(byte[], int, int) - Static method in class com.mku.convert.BitConverter
-
Converts a byte array to a long value.
- toString() - Method in class com.mku.android.file.AndroidFile
-
Returns a string representation of this object
- toString() - Method in class com.mku.file.JavaFile
-
Returns a string representation of this object
- TriConsumer<T1,
T2, T3> - Interface in com.mku.func -
Backwards compatibility TriConsumer class for devices with Android 23 and prior.
U
- unregister(String) - Method in class com.mku.salmon.service.SalmonStreamHandler
- useIntegrity() - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Get the integrity enabled option.
V
- valueOf(String) - Static method in enum class com.mku.salmon.password.PbkdfAlgo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.salmon.password.PbkdfType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.salmon.streams.EncryptionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.salmon.streams.ProviderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.sequence.NonceSequence.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.streams.RandomAccessStream.SeekOrigin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.mku.utils.FileSearcher.SearchEvent
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.mku.salmon.password.PbkdfAlgo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.salmon.password.PbkdfType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.salmon.streams.EncryptionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.salmon.streams.ProviderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.salmon.win.sequencer.WinClientSequencer.RequestType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.sequence.NonceSequence.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.streams.RandomAccessStream.SeekOrigin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.mku.utils.FileSearcher.SearchEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyHashes(byte[][], byte[], byte[]) - Method in class com.mku.salmon.integrity.SalmonIntegrity
-
Verify the buffer chunks against the hash signatures.
- VERSION - Static variable in class com.mku.salmon.SalmonGenerator
-
Version.
- VERSION_LENGTH - Static variable in class com.mku.salmon.SalmonGenerator
-
Length for the Version in the data header.
- VirtualDrive - Class in com.mku.file
- VirtualDrive() - Constructor for class com.mku.file.VirtualDrive
W
- WinClientSequencer - Class in com.mku.salmon.win.sequencer
- WinClientSequencer(String) - Constructor for class com.mku.salmon.win.sequencer.WinClientSequencer
- WinClientSequencer.RequestType - Enum Class in com.mku.salmon.win.sequencer
- WinFileSequencer - Class in com.mku.salmon.win.sequencer
-
File Sequencer for Windows with tamper protection.
- WinFileSequencer(IRealFile, INonceSequenceSerializer, String) - Constructor for class com.mku.salmon.win.sequencer.WinFileSequencer
-
Instantiate a windows file sequencer.
- WinSequenceTamperedException - Exception in com.mku.salmon.win.sequencer
- WinSequenceTamperedException(String) - Constructor for exception com.mku.salmon.win.sequencer.WinSequenceTamperedException
-
Construct an exception with a specific message.
- WinSequenceTamperedException(String, Exception) - Constructor for exception com.mku.salmon.win.sequencer.WinSequenceTamperedException
-
Construct an exception with a specific message and inner exception
- write(byte[], int, int) - Method in class com.mku.android.streams.AndroidFileStream
-
Write the data buffer to the stream.
- write(byte[], int, int) - Method in class com.mku.file.JavaFileStream
-
Write the data from the buffer provided into the stream.
- write(byte[], int, int) - Method in class com.mku.salmon.streams.SalmonStream
-
Encrypts the data from the buffer and writes the result to the baseStream.
- write(byte[], int, int) - Method in class com.mku.streams.MemoryStream
-
Write a sequence of bytes into the stream.
- write(byte[], int, int) - Method in class com.mku.streams.RandomAccessStream
-
Write the contents of the buffer to this stream.
- write(String, Object) - Method in class com.mku.salmon.win.registry.SalmonRegistry
-
Write a value from the registry
- writeAuthFile(IRealFile, SalmonDrive, byte[], byte[], byte[], byte[]) - Static method in class com.mku.salmon.SalmonAuthConfig
-
Write the properties of the auth configuration to a config file that will be imported by another device.
- writeDriveConfig(IRealFile, byte[], byte, byte[], int, byte[], byte[], byte[]) - Static method in class com.mku.salmon.SalmonDriveConfig
-
Write the properties of a drive to a config file
- writeToStream(RandomAccessStream, byte[], byte[], byte[], byte[]) - Static method in class com.mku.salmon.SalmonAuthConfig
-
Write authorization configuration to a SalmonStream.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form