Searched refs:hashAlg (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_RSA_PKCS_PSS_PARAMS.java58 * CK_MECHANISM_TYPE hashAlg;
71 * CK_MECHANISM_TYPE hashAlg;
74 public long hashAlg; field in class:CK_RSA_PKCS_PSS_PARAMS
101 buffer.append("hashAlg: 0x");
102 buffer.append(Functions.toFullHexString(hashAlg));
H A DCK_RSA_PKCS_OAEP_PARAMS.java58 * CK_MECHANISM_TYPE hashAlg;
74 * CK_MECHANISM_TYPE hashAlg;
77 public long hashAlg; field in class:CK_RSA_PKCS_OAEP_PARAMS
116 buffer.append("hashAlg: ");
117 buffer.append(hashAlg);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestOAEPWithParams.java75 private static void testEncryptDecrypt(String hashAlg, int dataLength) argument
77 System.out.println("Testing OAEP with hash " + hashAlg + ", " + dataLength + " bytes");
78 Cipher c = Cipher.getInstance("RSA/ECB/OAEPwith" + hashAlg +
86 OAEPParameterSpec spec1 = new OAEPParameterSpec(hashAlg,
88 OAEPParameterSpec spec2 = new OAEPParameterSpec(hashAlg,
H A DTestOAEP.java198 private static void testEncryptDecrypt(String hashAlg, int dataLength) throws Exception { argument
199 System.out.println("Testing OAEP with hash " + hashAlg + ", " + dataLength + " bytes");
200 Cipher c = Cipher.getInstance("RSA/ECB/OAEPwith" + hashAlg + "andMGF1Padding", cp);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DClientHandshaker.java971 String hashAlg =
974 if (hashAlg == null || hashAlg.length() == 0) {
979 handshakeHash.setCertificateVerifyAlg(hashAlg);
H A DServerHandshaker.java1404 String hashAlg =
1406 if (hashAlg == null || hashAlg.length() == 0) {
1411 handshakeHash.setCertificateVerifyAlg(hashAlg);
H A DHandshakeMessage.java1573 int hashAlg = input.getInt8(); // hash algorithm
1577 SignatureAndHashAlgorithm.valueOf(hashAlg, signAlg, 0);
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dpkcs11t.h1197 CK_MECHANISM_TYPE hashAlg; member in struct:CK_RSA_PKCS_OAEP_PARAMS
1210 CK_MECHANISM_TYPE hashAlg; member in struct:CK_RSA_PKCS_PSS_PARAMS
H A Dp11_convert.c1358 /* get hashAlg */
1361 fieldID = (*env)->GetFieldID(env, jRsaPkcsOaepParamsClass, "hashAlg", "J");
1381 ckParam.hashAlg = jLongToCKULong(jHashAlg);
1581 /* get hashAlg */
1584 fieldID = (*env)->GetFieldID(env, jRsaPkcsPssParamsClass, "hashAlg", "J");
1599 ckParam.hashAlg = jLongToCKULong(jHashAlg);

Completed in 100 milliseconds