Searched refs:PrivateKey (Results 76 - 100 of 128) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAKeyPairGenerator.java169 PrivateKey privateKey =
H A DRSASignature.java99 protected void engineInitSign(PrivateKey privateKey)
105 protected void engineInitSign(PrivateKey privateKey, SecureRandom random)
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java61 if (!(key instanceof PrivateKey)) {
63 ("Key must be instance of PrivateKey");
H A DECDSASignature.java203 protected void engineInitSign(PrivateKey privateKey)
210 protected void engineInitSign(PrivateKey privateKey, SecureRandom random)
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRSACipher.java55 PrivateKey privateKey = kp.getPrivate();
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyStoreSpi.java129 * <p>If the given key is of type <code>java.security.PrivateKey</code>,
142 * <code>java.security.PrivateKey</code>).
157 * <code>java.security.PrivateKey</code>,
169 * <code>java.security.PrivateKey</code>).
474 if (key instanceof PrivateKey) {
476 return new KeyStore.PrivateKeyEntry((PrivateKey)key, chain);
H A DKeyStore.java47 * <p> This type of entry holds a cryptographic <code>PrivateKey</code>,
140 * PrivateKey myPrivateKey = pkEntry.getPrivateKey();
181 * @see java.security.PrivateKey
238 * (such as a <code>PrivateKey</code>).
354 * A <code>KeyStore</code> entry that holds a <code>PrivateKey</code>
361 private final PrivateKey privKey;
366 * <code>PrivateKey</code> and corresponding certificate chain.
371 * @param privateKey the <code>PrivateKey</code>
384 * or if the <code>PrivateKey</code> algorithm
388 public PrivateKeyEntry(PrivateKey privateKe
[all...]
H A DKeyFactory.java88 * @see PrivateKey
363 public final PrivateKey generatePrivate(KeySpec keySpec)
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSASignature.java30 import java.security.PrivateKey;
287 protected void engineInitSign(PrivateKey key) throws InvalidKeyException
H A DRSACipher.java239 } else if (key instanceof PrivateKey) {
429 private static PrivateKey constructPrivateKey(byte[] encodedKey,
/openjdk7/jdk/test/sun/security/mscapi/
H A DShortRSAKeyWithinTLS.java170 PrivateKey privateKey = null;
175 privateKey = (PrivateKey)ks.getKey(keyAlias, null);
/openjdk7/jdk/test/sun/security/pkcs11/Signature/
H A DTestDSA.java120 PrivateKey privateKey = kf.generatePrivate(privSpec);
140 private void testSigning(Provider provider, PrivateKey privateKey,
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLSessionImpl.java38 import java.security.PrivateKey;
111 private PrivateKey localPrivateKey;
205 void setLocalPrivateKey(PrivateKey privateKey) {
H A DDHCrypt.java85 private PrivateKey privateKey;
H A DSignatureAndHashAlgorithm.java30 import java.security.PrivateKey;
243 String expected, PrivateKey signingKey) {
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestOAEP.java41 private static PrivateKey privateKey;
H A DTestOAEPWithParams.java43 private static PrivateKey privateKey;
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/
H A DDHKeyFactory.java86 PrivateKey privKey = kfac.generatePrivate(pkcsKeySpec);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11ECDHKeyAgreement.java74 if (key instanceof PrivateKey == false) {
76 ("Key must be instance of PrivateKey");
H A DP11KeyStore.java415 * <p>If the given key is of type <code>java.security.PrivateKey</code>,
428 * <code>java.security.PrivateKey</code>).
441 if (!(key instanceof PrivateKey) && !(key instanceof SecretKey)) {
442 throw new KeyStoreException("key must be PrivateKey or SecretKey");
443 } else if (key instanceof PrivateKey && chain == null) {
445 ("PrivateKey must be accompanied by non-null chain");
456 if (key instanceof PrivateKey) {
457 entry = new KeyStore.PrivateKeyEntry((PrivateKey)key, chain);
474 * <code>java.security.PrivateKey</code>,
486 * <code>java.security.PrivateKey</cod
[all...]
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMSignatureMethod.java272 if (!(key instanceof PrivateKey)) {
273 throw new InvalidKeyException("key must be PrivateKey");
286 signature.initSign((PrivateKey) key);
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DKeyProtector.java38 import java.security.PrivateKey;
111 byte[] protect(PrivateKey key)
H A DJceKeyStore.java35 import java.security.PrivateKey;
229 * <p>If the given key is of type <code>java.security.PrivateKey</code>,
242 * <code>java.security.PrivateKey</code>).
255 if (key instanceof PrivateKey) {
260 entry.protectedKey = keyProtector.protect((PrivateKey)key);
293 * <code>java.security.PrivateKey</code>,
305 * <code>java.security.PrivateKey</code>).
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DTimestampCheck.java36 import java.security.PrivateKey;
192 sig.initSign((PrivateKey)(ks.getKey(
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DKeyStoreLoginModule.java43 import java.security.PrivateKey;
690 || !(privateKey instanceof PrivateKey))
697 certificate, (PrivateKey) privateKey, keyStoreAlias);

Completed in 63 milliseconds

123456