public class CipherFactory extends Object
CipherFactory()
static Cipher
getInstance(String keyAlg, String alg, int encryptMode, byte[] key, byte[] iv)
getInstance(String provider, String alg, int encryptMode, Key key, byte[] iv)
static Key
toKey(byte[] key, String keyAlg)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CipherFactory()
public static Key toKey(byte[] key, String keyAlg)
public static Cipher getInstance(String provider, String alg, int encryptMode, Key key, byte[] iv)
provider
alg
encryptMode
key
iv
public static Cipher getInstance(String keyAlg, String alg, int encryptMode, byte[] key, byte[] iv)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.