/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * algorithm parameters. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key, algorithm * parameters and randomness source. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, random); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key. * * @param key * the key to initialize this key agreement. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key) throws InvalidKeyException { spiImpl.engineInit(key, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * specified randomness source. * * @param key * the key to initialize this key agreement. * @param random * the source for any randomness needed. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. */ public final void init(Key key, SecureRandom random) throws InvalidKeyException { spiImpl.engineInit(key, random); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * algorithm parameters. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * algorithm parameters. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * algorithm parameters. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); }
/** * Initializes this {@code KeyAgreement} with the specified key and the * algorithm parameters. * * @param key * the key to initialize this key agreement. * @param params * the parameters for this key agreement algorithm. * @throws InvalidKeyException * if the specified key cannot be used to initialize this key * agreement. * @throws InvalidAlgorithmParameterException * if the specified parameters are invalid for this key * agreement algorithm. */ public final void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); }