Searched refs:publicKey (Results 51 - 70 of 70) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyPairGenerator.java317 PublicKey publicKey = P11Key.publicKey
321 return new KeyPair(publicKey, privateKey);
H A DP11Signature.java351 protected void engineInitVerify(PublicKey publicKey) argument
353 if (publicKey == null) {
357 if (keyAlgorithm.equals("RSA") && publicKey != p11Key) {
359 if (publicKey instanceof P11Key) {
360 keyLen = ((P11Key) publicKey).length();
362 keyLen = ((RSAKey) publicKey).getModulus().bitLength();
368 p11Key = P11KeyFactory.convertKey(token, publicKey, keyAlgorithm);
H A DP11KeyStore.java1687 PublicKey publicKey = pke.getCertificate().getPublicKey();
1699 CK_ATTRIBUTE[] idAttrs = getIdAttributes(key, publicKey, false, useNDB);
1730 CK_ATTRIBUTE[] idAttrs = getIdAttributes(key, publicKey, false, useNDB);
1756 CK_ATTRIBUTE[] idAttrs = getIdAttributes(key, publicKey, false, useNDB);
1797 CK_ATTRIBUTE[] idAttrs = getIdAttributes(key, publicKey, false, true);
1906 PublicKey publicKey, boolean id, boolean netscapeDb) {
1912 if (id && alg.equals("RSA") && (publicKey instanceof RSAPublicKey)) {
1914 BigInteger n = ((RSAPublicKey)publicKey).getModulus();
1916 } else if (alg.equals("DSA") && (publicKey instanceof DSAPublicKey)) {
1917 BigInteger y = ((DSAPublicKey)publicKey)
1905 getIdAttributes(PrivateKey privateKey, PublicKey publicKey, boolean id, boolean netscapeDb) argument
[all...]
H A DP11DHKeyFactory.java186 return P11Key.publicKey
H A DP11DSAKeyFactory.java181 return P11Key.publicKey
H A DP11ECKeyFactory.java234 return P11Key.publicKey
H A DP11RSAKeyFactory.java204 return P11Key.publicKey
H A DP11Key.java305 static PublicKey publicKey(Session session, long keyID, String algorithm, method in class:P11Key
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DRSAClientKeyExchange.java87 SecureRandom generator, PublicKey publicKey) throws IOException {
88 if (publicKey.getAlgorithm().equals("RSA") == false) {
112 cipher.init(Cipher.WRAP_MODE, publicKey, generator);
85 RSAClientKeyExchange(ProtocolVersion protocolVersion, ProtocolVersion maxVersion, SecureRandom generator, PublicKey publicKey) argument
H A DHandshakeMessage.java772 DH_ServerKeyExchange(HandshakeInStream input, PublicKey publicKey, argument
821 String algorithm = publicKey.getAlgorithm();
835 sig.initVerify(publicKey);
976 private ECPublicKey publicKey; field in class:HandshakeMessage.ECDH_ServerKeyExchange
991 publicKey = (ECPublicKey)obj.getPublicKey();
992 ECParameterSpec params = publicKey.getParams();
993 ECPoint point = publicKey.getW();
1057 publicKey = (ECPublicKey)factory.generatePublic(
1107 return publicKey;
1173 s.println("Server key: " + publicKey);
1603 verify(ProtocolVersion protocolVersion, HandshakeHash handshakeHash, PublicKey publicKey, SecretKey masterSecret) argument
[all...]
H A DServerHandshaker.java1244 PublicKey publicKey = tempCerts[0].getPublicKey();
1246 || (publicKey.getAlgorithm().equals(keyAlgorithm) == false)) {
1253 if (publicKey instanceof ECPublicKey == false) {
1256 ECParameterSpec params = ((ECPublicKey)publicKey).getParams();
1415 PublicKey publicKey =
1419 publicKey, session.getMasterSecret());
H A DClientHandshaker.java718 PublicKey publicKey = certs[0].getPublicKey();
720 if (publicKey instanceof ECPublicKey) {
722 ((ECPublicKey)publicKey).getParams();
728 publicKey = null;
731 if (publicKey != null) {
/openjdk7/jdk/test/java/security/Provider/
H A DGetInstance.java190 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { argument
213 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { argument
254 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { argument
/openjdk7/jdk/test/sun/security/mscapi/
H A DShortRSAKeyWithinTLS.java171 PublicKey publicKey = null;
176 publicKey = (PublicKey)ks.getCertificate(keyAlias).getPublicKey();
184 int publicKeySize = KeyUtil.getKeySize(publicKey);
/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureSpi.java63 * @param publicKey the public key of the identity whose signature is
69 protected abstract void engineInitVerify(PublicKey publicKey) argument
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSA.java230 * @param publicKey the DSA public key.
235 protected void engineInitVerify(PublicKey publicKey) argument
237 if (!(publicKey instanceof java.security.interfaces.DSAPublicKey)) {
239 publicKey);
242 (java.security.interfaces.DSAPublicKey)publicKey;
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DForwardBuilder.java794 * subjectDN, and publicKey from the cert
850 java.security.PublicKey publicKey = anchor.getCAPublicKey();
852 if (principal != null && publicKey != null &&
854 if (publicKey.equals(cert.getPublicKey())) {
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipher.java1645 PublicKey publicKey =
1649 checkCryptoPerm(spi, publicKey);
1650 spi.engineInit(opmode, publicKey, random);
1653 chooseProvider(I_CERT, opmode, publicKey, null, null, random);
/openjdk7/jdk/src/windows/native/sun/security/mscapi/
H A Dsecurity.cpp1921 jobject publicKey = NULL; local
1973 publicKey = env->NewObject(clazzRSAPublicKey, mNewRSAPublicKey,
1987 return publicKey;
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dpkcs11t.h1267 CK_OBJECT_HANDLE publicKey; member in struct:CK_ECMQV_DERIVE_PARAMS
1324 CK_OBJECT_HANDLE publicKey; member in struct:CK_X9_42_MQV_DERIVE_PARAMS

Completed in 81 milliseconds

123