Uses of Class
org.cryptacular.CiphertextHeader
Packages that use CiphertextHeader
-
Uses of CiphertextHeader in org.cryptacular
Methods in org.cryptacular that return CiphertextHeaderModifier and TypeMethodDescriptionstatic CiphertextHeaderCreates a header from encrypted data containing a cleartext header prepended to the start.static CiphertextHeaderCiphertextHeader.decode(InputStream input, Function<String, SecretKey> keyLookup) 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 BlockCipherAdapterAbstractBlockCipherBean.newCipher(CiphertextHeader header, boolean mode) Creates a new cipher adapter instance suitable for the block cipher used by this class.protected AEADBlockCipherAdapterAEADBlockCipherBean.newCipher(CiphertextHeader header, boolean mode) protected BufferedBlockCipherAdapterBufferedBlockCipherBean.newCipher(CiphertextHeader header, boolean mode) protected byte[]AbstractBlockCipherBean.process(CiphertextHeader header, boolean mode, byte[] input) protected voidAbstractBlockCipherBean.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 voidAbstractCipherBean.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 CiphertextHeaderCipherUtil.decodeHeader(byte[] data, Function<String, SecretKey> keyLookup) Decodes the ciphertext header at the start of the given byte array.static CiphertextHeaderCipherUtil.decodeHeader(InputStream in, Function<String, SecretKey> keyLookup) Decodes the ciphertext header at the start of the given input stream.