Uses of Interface
edu.vt.middleware.crypt.util.Converter
-
Packages that use Converter Package Description edu.vt.middleware.crypt edu.vt.middleware.crypt.digest edu.vt.middleware.crypt.signature edu.vt.middleware.crypt.util -
-
Uses of Converter in edu.vt.middleware.crypt
Methods in edu.vt.middleware.crypt with parameters of type Converter Modifier and Type Method Description byte[]
AbstractEncryptionAlgorithm. decrypt(String ciphertext, Converter converter)
Decrypts a string representation of ciphertext bytes into a byte array of plaintext using the decryption key.byte[]
EncryptionAlgorithm. decrypt(String ciphertext, Converter converter)
Decrypts a string representation of ciphertext bytes into a byte array of plaintext using the decryption key.String
AbstractEncryptionAlgorithm. encrypt(byte[] plaintext, Converter converter)
Encrypts the given plaintext bytes into a ciphertext string using the conversion strategy provided by the given converter.String
EncryptionAlgorithm. encrypt(byte[] plaintext, Converter converter)
Encrypts the given plaintext bytes into a ciphertext string using the conversion strategy provided by the given converter. -
Uses of Converter in edu.vt.middleware.crypt.digest
Methods in edu.vt.middleware.crypt.digest with parameters of type Converter Modifier and Type Method Description String
DigestAlgorithm. digest(byte[] input, Converter converter)
Computes the digest for the given data in a single operation and passes the resulting digest bytes through the given converter to produce text output.String
DigestAlgorithm. digest(InputStream in, Converter converter)
Computes the digest for all the data in the stream by reading data and hashing it in chunks. -
Uses of Converter in edu.vt.middleware.crypt.signature
Methods in edu.vt.middleware.crypt.signature with parameters of type Converter Modifier and Type Method Description String
SignatureAlgorithm. sign(byte[] data, Converter converter)
Signs the given data and returns the signature as a string using the conversion strategy provided by the given converter.String
SignatureAlgorithm. sign(InputStream in, Converter converter)
Computes the signature of the data in the given input stream by processing in chunks.boolean
SignatureAlgorithm. verify(byte[] data, String signature, Converter converter)
Verifies the signature of the given data matches the given signature.boolean
SignatureAlgorithm. verify(InputStream in, String signature, Converter converter)
Verifies the signature of the data in the given input stream matches the given signature. -
Uses of Converter in edu.vt.middleware.crypt.util
Classes in edu.vt.middleware.crypt.util that implement Converter Modifier and Type Class Description class
AbstractEncodingConverter
Abstract base class for all converters that perform encoding with a BCEncoder
class.class
Base64Converter
Converts bytes to base-64 encoded strings and vice versa.class
HexConverter
Converts bytes to HEX and vice versa.
-