- deriveIvParameterSpec
Derives a IvParameterSpec of the specified type from the given key using the
provided class name and
- deriveSecretKey
Derives a SecretKey of the specified type from the given key using the provided
class name and kdfSt
- genIV
Generates a random iv of a specified length
- genSecretKey
Generates a secret key for the specified symmetric algorithm
- getIvParameterSpec
Converts an iv in a specified portion of a byte[] and places it in a
IvParameterSpec.
- getKeyPair
Takes the PublicKey and PrivateKey and stores them in a KeyPair
- getPublicKey
Converts a specified key for a specified algorithm to a PublicKey. Can not
handle DSA keys.
- getPublicKeyPair
Converts a specified key for a specified algorithm to a PublicKey which is then
stored in a KeyPair.
- getSecretKey
Converts the specified key into a SecretKey for the specified algorithm. Checks
the length of the ke
- deriveBytes
Derives a ByteBuffer that is 512 bits (32 bytes) long from the given key using
the provided class na
- deriveBytesTruncated
Derives a ByteBuffer of the specified length from the given key using the
provided class name and kd
- genKeyPair
Generates a public/private key pair formatted for the algorithm specified and
stores the keys in a K