Searched refs:PublicKey (Results 126 - 150 of 159) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMSignatureMethod.java220 if (!(key instanceof PublicKey)) {
221 throw new InvalidKeyException("key must be PublicKey");
234 signature.initVerify((PublicKey) key);
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSACipher.java234 if (key instanceof PublicKey) {
409 private static PublicKey constructPublicKey(byte[] encodedKey,
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/
H A DDHKeyAgreement2.java133 PublicKey alicePubKey = bobKeyFac.generatePublic(x509KeySpec);
168 PublicKey bobPubKey = aliceKeyFac.generatePublic(x509KeySpec);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/signature/
H A DXMLSignature.java28 import java.security.PublicKey;
526 if (signingKey instanceof PublicKey) {
612 * @param pk {@link java.security.PublicKey} part of the keypair or {@link javax.crypto.SecretKey} that was used to sign
639 log.log(java.util.logging.Level.FINE, "PublicKey = " + pk);
752 public void addKeyInfo(PublicKey pk) {
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DDistributionPointFetcher.java82 PublicKey prevKey,
139 boolean signFlag, PublicKey prevKey, String provider,
284 PublicKey prevKey, String provider,
H A DSunCertPathBuilder.java33 import java.security.PublicKey;
87 private PublicKey finalPublicKey;
488 PublicKey rootKey = cert.getPublicKey();
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DHandshakeMessage.java590 RSA_ServerKeyExchange(PublicKey ephemeralKey, PrivateKey privateKey,
619 PublicKey getPublicKey() {
637 boolean verify(PublicKey certifiedKey, RandomCookie clntNonce,
772 DH_ServerKeyExchange(HandshakeInStream input, PublicKey publicKey,
1018 ECDH_ServerKeyExchange(HandshakeInStream input, PublicKey signingKey,
1604 HandshakeHash handshakeHash, PublicKey publicKey,
H A DClientHandshaker.java64 private PublicKey serverKey;
68 private PublicKey ephemeralServerKey;
718 PublicKey publicKey = certs[0].getPublicKey();
798 PublicKey key;
H A DRSAClientKeyExchange.java87 SecureRandom generator, PublicKey publicKey) throws IOException {
H A DServerHandshaker.java77 private PublicKey tempPublicKey;
1244 PublicKey publicKey = tempCerts[0].getPublicKey();
1415 PublicKey publicKey =
1641 PublicKey key = peerCerts[0].getPublicKey();
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DX509CertImpl.java159 * PublicKey that has previously been used to verify
163 private PublicKey verifiedPublicKey;
396 public void verify(PublicKey key)
419 public synchronized void verify(PublicKey key, String sigProvider)
774 public PublicKey getPublicKey() {
778 PublicKey key = (PublicKey)info.get(CertificateX509Key.NAME
H A DX509CRLImpl.java33 import java.security.PublicKey;
116 * PublicKey that has previously been used to successfully verify
120 private PublicKey verifiedPublicKey;
333 * @param key the PublicKey used to carry out the verification.
342 public void verify(PublicKey key)
354 * @param key the PublicKey used to carry out the verification.
364 public synchronized void verify(PublicKey key, String sigProvider)
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyFactory.java63 * PublicKey bobPubKey = keyFactory.generatePublic(bobPubKeySpec);
87 * @see PublicKey
325 public final PublicKey generatePublic(KeySpec keySpec)
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509CertSelector.java30 import java.security.PublicKey;
105 private PublicKey subjectPublicKey;
521 public void setSubjectPublicKey(PublicKey key) {
1527 public PublicKey getSubjectPublicKey() {
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestOAEP_KAT.java101 PublicKey pubKey = kf.generatePublic(pubSpec);
H A DTestRSA.java181 PublicKey publicKey = kf.generatePublic(pubSpec);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyPairGenerator.java317 PublicKey publicKey = P11Key.publicKey
H A DP11KeyAgreement.java130 if ((key instanceof PublicKey == false)
133 ("Key must be a PublicKey with algorithm DH");
173 ("PublicKey DH parameters must match PrivateKey DH parameters");
H A DP11RSACipher.java513 private static final PublicKey constructPublicKey(byte[] encodedKey,
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSASignature.java90 protected void engineInitVerify(PublicKey publicKey)
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDSASignature.java191 protected void engineInitVerify(PublicKey publicKey)
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DSignerInfo.java406 PublicKey key = cert.getPublicKey();
/openjdk7/jdk/src/share/classes/sun/security/validator/
H A DSimpleValidator.java401 PublicKey certPublicKey = cert.getPublicKey();
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DGenerationTests.java40 import java.security.PublicKey;
89 private static PublicKey validatingKey;
1116 private static PublicKey getPublicKey(String algo) throws Exception {
1120 private static PublicKey getPublicKey(String algo, int keysize)
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSA.java235 protected void engineInitVerify(PublicKey publicKey)

Completed in 95 milliseconds

1234567