public static byte[] rsaSign( @NotNull byte[] pkcs8encodedPrivateKey, @NotNull DigestAlgorithm digestAlgorithms, @NotNull byte[] data) throws InvalidKeyException { return engine.rsaSign(pkcs8encodedPrivateKey, digestAlgorithms, data); }
public static void verifySignature( @NotNull SignatureVerificationKey key, @Nullable DigestAlgorithm digestAlgorithms, @NotNull byte[] data, @NotNull byte[] signature) throws SignatureException, InvalidKeyException { engine.verifySignature(key, digestAlgorithms, data, signature); }
public static void rsaVerifySignature( @NotNull byte[] x509encodedPrivateKey, @NotNull DigestAlgorithm digestAlgorithms, @NotNull byte[] data, @NotNull byte[] signature) throws SignatureException, InvalidKeyException { engine.rsaVerifySignature(x509encodedPrivateKey, digestAlgorithms, data, signature); }
public static byte[] rsaEncrypt( @NotNull byte[] x509encodedPublicKey, @NotNull SymmetricAlgorithm symmetricAlgorithm, int symmetricKeySize, @NotNull byte[] data) throws EncryptionException { return engine.rsaEncrypt(x509encodedPublicKey, symmetricAlgorithm, symmetricKeySize, data); }
public static byte[] decrypt( @NotNull DecryptionKey key, @NotNull SymmetricAlgorithm symmetricAlgorithm, int symmetricKeySize, @NotNull byte[] data) throws DecryptionException { return engine.decrypt(key, symmetricAlgorithm, symmetricKeySize, data); }
public static byte[] encrypt( @NotNull EncryptionKey key, @NotNull SymmetricAlgorithm symmetricAlgorithm, int symmetricKeySize, @NotNull byte[] data, boolean compatibilityMode) throws EncryptionException { return engine.encrypt(key, symmetricAlgorithm, symmetricKeySize, data, compatibilityMode); }
@NotNull public static HMACKey generatePBEHMACKey( DigestAlgorithm pbkdf2DigestAlgorithm, DigestAlgorithm hmacDigestAlgorithm, char[] password, int iterations, byte[] salt) { return engine.generatePBEHMACKey( pbkdf2DigestAlgorithm, hmacDigestAlgorithm, password, iterations, salt); }
public static byte[] decrypt( @NotNull DecryptionKey key, @NotNull SymmetricAlgorithm symmetricAlgorithm, @NotNull String symmetricAlgorithmCipher, int symmetricKeySize, @NotNull byte[] data, @NotNull String cipherAlgorithm) throws DecryptionException { return engine.decrypt( key, symmetricAlgorithm, symmetricAlgorithmCipher, symmetricKeySize, data, cipherAlgorithm); }
@NotNull public static <K extends Key> K generateKey(@NotNull Class<K> keyType, int keySize) { return engine.generateKey(keyType, keySize); }
@NotNull public static RSAKeyPair generateRSAKeyPair(int keySize) { return engine.generateRSAKeyPair(keySize); }
@NotNull public static AESKey generateAESKey( AESKeyLen keySize, DHPrivateKey dhPrivateKey, DHPublicKey dhPublicKey) throws InvalidKeyException { return engine.generateAESKey(keySize, dhPrivateKey, dhPublicKey); }
@NotNull public static HMACKey generateHMACKey( DigestAlgorithm digestAlgorithm, DHPrivateKey dhPrivateKey, DHPublicKey dhPublicKey) throws InvalidKeyException { return engine.generateHMACKey(digestAlgorithm, dhPrivateKey, dhPublicKey); }
public static RSAPublicKey readRSAPublicKey(byte[] x509encodedKey) throws InvalidKeyException { return engine.readRSAPublicKey(x509encodedKey); }
@NotNull public static HMACKey generateHMACKey(DigestAlgorithm digestAlgorithm) { return engine.generateHMACKey(digestAlgorithm); }
@NotNull public static AESKey generateAESKey(AESKeyLen keySize) { return engine.generateAESKey(keySize); }
public static byte[] encrypt( @NotNull EncryptionKey key, @NotNull byte[] data, boolean compatibilityMode) throws EncryptionException { return engine.encrypt(key, data, compatibilityMode); }
public static RSAKeyPair readRSAKeyPair(byte[] customEncodedKey) throws InvalidKeyException { return engine.readRSAKeyPair(customEncodedKey); }
@NotNull public static DHParameters generateDHParameters(int keySize) { return engine.generateDHParameters(keySize); }
public static byte[] sign(@NotNull SigningKey key, @NotNull byte[] data) throws InvalidKeyException { return engine.sign(key, data); }
public static byte[] encrypt(@NotNull EncryptionKey key, @NotNull byte[] data) throws EncryptionException { return engine.encrypt(key, data); }
@NotNull public static AESKey generatePBEAESKey( DigestAlgorithm digestAlgorithm, char[] key, int iterations, byte[] salt, AESKeyLen keyLen) { return engine.generatePBEAESKey(digestAlgorithm, key, iterations, salt, keyLen); }
public static byte[] sha512(byte[] data) { return engine.sha512(data); }
public static byte[] digest(byte[] data, DigestAlgorithm alg) { return engine.digest(data, alg); }
public static Digest digest(DigestAlgorithm alg) { return engine.digest(alg); }
public static byte[] decrypt( @NotNull DecryptionKey key, @NotNull byte[] data, String cipherAlgorithm) throws DecryptionException { return engine.decrypt(key, data, cipherAlgorithm); }
public static AESKey readAESKey(byte[] rawEncodedKey) throws InvalidKeyException { return engine.readAESKey(rawEncodedKey); }
public static HMACKey readHMACKey(DigestAlgorithm digestAlgorithm, byte[] rawEncodedKey) throws InvalidKeyException { return engine.readHMACKey(digestAlgorithm, rawEncodedKey); }
public static void setDefaultCompatibilityMode(boolean defaultCompatibilityMode) { engine.setDefaultCompatibilityMode(defaultCompatibilityMode); }
public static boolean isTestEngine() { return engine.isTestEngine(); }
public static byte[] sign( @NotNull SigningKey key, @Nullable DigestAlgorithm digestAlgorithms, @NotNull byte[] data) throws InvalidKeyException { return engine.sign(key, digestAlgorithms, data); }