Searched defs:algParams (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHKeyPairGenerator.java109 public void initialize(AlgorithmParameterSpec algParams, argument
111 if (!(algParams instanceof DHParameterSpec)){
116 params = (DHParameterSpec)algParams;
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/
H A DMacData.java115 MacData(AlgorithmParameters algParams, byte[] digest, argument
118 if (algParams == null)
119 throw new NullPointerException("the algParams parameter " +
122 AlgorithmId algid = AlgorithmId.get(algParams);
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DEncryptedPrivateKeyInfo.java157 * @param algParams the algorithm parameters for the encryption
158 * algorithm. <code>algParams.getEncoded()</code> should return
165 * @exception NullPointerException if <code>algParams</code> or
170 * the specified <code>algParams</code> parameter is not supported.
172 public EncryptedPrivateKeyInfo(AlgorithmParameters algParams, argument
175 if (algParams == null) {
176 throw new NullPointerException("algParams must be non-null");
178 this.algid = AlgorithmId.get(algParams);
/openjdk7/hotspot/test/compiler/7184394/
H A DTestAESBase.java55 AlgorithmParameters algParams; field in class:TestAESBase
97 algParams = cipher.getParameters();
98 cipher.init(Cipher.ENCRYPT_MODE, key, algParams);
100 algParams = cipher.getParameters();
101 dCipher.init(Cipher.DECRYPT_MODE, key, algParams);
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DAlgorithmId.java69 private AlgorithmParameters algParams; field in class:AlgorithmId
105 algParams = algparams;
121 algParams = AlgorithmParameters.getInstance(algidString);
127 algParams = AlgorithmParameters.getInstance(algidString,
134 algParams = null;
139 algParams.init(params.toByteArray());
163 // Setup params from algParams since no DER encoding is given
165 if (algParams != null) {
166 params = new DerValue(algParams.getEncoded());
256 return algParams;
[all...]

Completed in 24 milliseconds