Uses of Class
org.cryptacular.CiphertextHeader
Packages that use CiphertextHeader
-
Uses of CiphertextHeader in org.cryptacular
Subclasses of CiphertextHeader in org.cryptacularModifier and TypeClassDescriptionclass
Cleartext header prepended to ciphertext providing data required for decryption.Methods in org.cryptacular that return CiphertextHeaderModifier and TypeMethodDescriptionstatic CiphertextHeader
CiphertextHeader.decode
(byte[] data) Deprecated.Creates a header from encrypted data containing a cleartext header prepended to the start.static CiphertextHeader
CiphertextHeader.decode
(InputStream input) Deprecated.Creates a header from encrypted data containing a cleartext header prepended to the start. -
Uses of CiphertextHeader in org.cryptacular.bean
Methods in org.cryptacular.bean with parameters of type CiphertextHeaderModifier and TypeMethodDescriptionprotected abstract BlockCipherAdapter
AbstractBlockCipherBean.newCipher
(CiphertextHeader header, boolean mode) Creates a new cipher adapter instance suitable for the block cipher used by this class.protected AEADBlockCipherAdapter
AEADBlockCipherBean.newCipher
(CiphertextHeader header, boolean mode) protected BufferedBlockCipherAdapter
BufferedBlockCipherBean.newCipher
(CiphertextHeader header, boolean mode) protected byte[]
AbstractBlockCipherBean.process
(CiphertextHeader header, boolean mode, byte[] input) protected void
AbstractBlockCipherBean.process
(CiphertextHeader header, boolean mode, InputStream input, OutputStream output) protected abstract byte[]
AbstractCipherBean.process
(CiphertextHeader header, boolean mode, byte[] input) Processes the given data under the action of the cipher.protected abstract void
AbstractCipherBean.process
(CiphertextHeader header, boolean mode, InputStream input, OutputStream output) Processes the given data under the action of the cipher. -
Uses of CiphertextHeader in org.cryptacular.util
Methods in org.cryptacular.util that return CiphertextHeaderModifier and TypeMethodDescriptionstatic CiphertextHeader
CipherUtil.decodeHeader
(byte[] data, Function<String, SecretKey> keyLookup) Decodes the ciphertext header at the start of the given byte array.static CiphertextHeader
CipherUtil.decodeHeader
(InputStream in, Function<String, SecretKey> keyLookup) Decodes the ciphertext header at the start of the given input stream.