Searched refs:hCryptKey (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DKey.java45 protected long hCryptKey = 0; field in class:Key
53 protected Key(long hCryptProv, long hCryptKey, int keyLength) argument
56 this.hCryptKey = hCryptKey;
68 cleanUp(hCryptProv, hCryptKey);
70 hCryptKey = 0;
81 private native static void cleanUp(long hCryptProv, long hCryptKey); argument
98 return hCryptKey;
157 protected native static String getKeyType(long hCryptKey); argument
H A DRSAKeyPair.java42 RSAKeyPair(long hCryptProv, long hCryptKey, int keyLength) argument
44 privateKey = new RSAPrivateKey(hCryptProv, hCryptKey, keyLength);
45 publicKey = new RSAPublicKey(hCryptProv, hCryptKey, keyLength);
H A DRSAPrivateKey.java41 RSAPrivateKey(long hCryptProv, long hCryptKey, int keyLength) argument
43 super(hCryptProv, hCryptKey, keyLength);
64 getKeyType(hCryptKey) + ", container=" +
H A DRSAPublicKey.java52 RSAPublicKey(long hCryptProv, long hCryptKey, int keyLength) argument
54 super(hCryptProv, hCryptKey, keyLength);
80 .append(" bits, type=").append(getKeyType(hCryptKey))
96 publicKeyBlob = getPublicKeyBlob(hCryptKey);
115 publicKeyBlob = getPublicKeyBlob(hCryptKey);
180 private native byte[] getPublicKeyBlob(long hCryptKey) throws KeyException; argument
H A DRSASignature.java420 int hashSize, String hashAlgorithm, long hCryptProv, long hCryptKey)
428 long hCryptProv, long hCryptKey) throws SignatureException;
419 signHash(boolean noHashOID, byte[] hash, int hashSize, String hashAlgorithm, long hCryptProv, long hCryptKey) argument
426 verifySignedHash(byte[] hash, int hashSize, String hashAlgorithm, byte[] signature, int signatureSize, long hCryptProv, long hCryptKey) argument
H A DKeyStore.java807 long hCryptProv, long hCryptKey, int keyLength,
822 hCryptKey, keyLength), certChain);
893 long hCryptKey) throws CertificateException, KeyStoreException;
806 generateRSAKeyAndCertificateChain(String alias, long hCryptProv, long hCryptKey, int keyLength, Collection certCollection, Collection<KeyEntry> entries) argument
891 storeCertificate(String name, String alias, byte[] encoding, int encodingLength, long hCryptProvider, long hCryptKey) argument
H A DRSACipher.java460 long hCryptKey, boolean doEncrypt) throws KeyException;
459 encryptDecrypt(byte[] data, int dataSize, long hCryptKey, boolean doEncrypt) argument
/openjdk7/jdk/src/windows/native/sun/security/mscapi/
H A Dsecurity.cpp465 (JNIEnv *env, jclass clazz, jlong hCryptProv, jlong hCryptKey)
467 if (hCryptKey != NULL)
468 ::CryptDestroyKey((HCRYPTKEY) hCryptKey);
483 jlong hCryptKey)
543 if (! ::CryptGetKeyParam((HCRYPTKEY) hCryptKey, KP_ALGID, (BYTE*)&dwAlgId, &dwAlgIdLen, 0)) {
607 jlong hCryptProv, jlong hCryptKey)
673 dwSignedHashBufferLen, (HCRYPTKEY) hCryptKey, NULL, 0) == TRUE)
802 (JNIEnv *env, jclass jclazz, jlong hCryptKey)
807 if (::CryptGetKeyParam((HCRYPTKEY) hCryptKey, KP_ALGID, (BYTE*)&dwAlgId, &dwAlgIdLen, 0)) {
834 jlong hCryptKey)
464 Java_sun_security_mscapi_Key_cleanUp(JNIEnv *env, jclass clazz, jlong hCryptProv, jlong hCryptKey) argument
480 Java_sun_security_mscapi_RSASignature_signHash(JNIEnv *env, jclass clazz, jboolean noHashOID, jbyteArray jHash, jint jHashSize, jstring jHashAlgorithm, jlong hCryptProv, jlong hCryptKey) argument
604 Java_sun_security_mscapi_RSASignature_verifySignedHash(JNIEnv *env, jclass clazz, jbyteArray jHash, jint jHashSize, jstring jHashAlgorithm, jbyteArray jSignedHash, jint jSignedHashSize, jlong hCryptProv, jlong hCryptKey) argument
801 Java_sun_security_mscapi_Key_getKeyType(JNIEnv *env, jclass jclazz, jlong hCryptKey) argument
831 Java_sun_security_mscapi_KeyStore_storeCertificate(JNIEnv *env, jobject obj, jstring jCertStoreName, jstring jCertAliasName, jbyteArray jCertEncoding, jint jCertEncodingSize, jlong hCryptProv, jlong hCryptKey) argument
1475 Java_sun_security_mscapi_RSAPublicKey_getPublicKeyBlob(JNIEnv *env, jclass clazz, jlong hCryptKey) argument
[all...]

Completed in 40 milliseconds