Uses of Class
com.dracoon.sdk.crypto.error.CryptoSystemException
Packages that use CryptoSystemException
-
Uses of CryptoSystemException in com.dracoon.sdk.crypto
Methods in com.dracoon.sdk.crypto that throw CryptoSystemExceptionModifier and TypeMethodDescriptionstatic booleanCrypto.checkUserKeyPair(UserKeyPair userKeyPair, char[] password) Checks if a user key pair can be unlocked.static FileDecryptionCipherCrypto.createFileDecryptionCipher(PlainFileKey fileKey) Creates a file decryption cipher.static FileEncryptionCipherCrypto.createFileEncryptionCipher(PlainFileKey fileKey) Creates a file encryption cipher.static PlainFileKeyCrypto.decryptFileKey(EncryptedFileKey encFileKey, UserPrivateKey userPrivateKey, char[] password) Decrypts a file key.FileDecryptionCipher.doFinal(EncryptedDataContainer encData) Completes the decryption and verifies the integrity of decrypted bytes.
After this method is called no further calls ofprocessBytesanddoFinalare possible.FileEncryptionCipher.doFinal()Completes the encryption and calculates a kind of checksum which is later used at the decryption to verify the integrity of decrypted bytes.
After this method is called no further calls ofprocessBytesanddoFinalare possible.static EncryptedFileKeyCrypto.encryptFileKey(PlainFileKey plainFileKey, UserPublicKey userPublicKey) Encrypts a file key.static UserKeyPairCrypto.generateUserKeyPair(UserKeyPair.Version version, char[] password) Generates a random user key pair.FileDecryptionCipher.processBytes(EncryptedDataContainer encData) Decrypts some bytes.
IMPORTANT!!!: After all encrypted bytes have been processed,doFinalmust be called to complete the decryption.FileEncryptionCipher.processBytes(PlainDataContainer plainData) Encrypts some bytes.
IMPORTANT!!!: After all plain bytes have been processed,doFinalmust be called to complete the encryption. -
Uses of CryptoSystemException in com.dracoon.sdk.crypto.internal
Methods in com.dracoon.sdk.crypto.internal that throw CryptoSystemExceptionModifier and TypeMethodDescriptionAesGcmFileDecryptionCipher.doFinal(EncryptedDataContainer encData) AesGcmFileEncryptionCipher.doFinal()protected byte[]AesGcmFileCipher.process(byte[] block, boolean isLastBlock) AesGcmFileDecryptionCipher.processBytes(EncryptedDataContainer encData) AesGcmFileEncryptionCipher.processBytes(PlainDataContainer plainData) Constructors in com.dracoon.sdk.crypto.internal that throw CryptoSystemExceptionModifierConstructorDescriptionAesGcmFileDecryptionCipher(PlainFileKey fileKey) AesGcmFileEncryptionCipher(PlainFileKey fileKey)