Searched refs:PublicKey (Results 51 - 75 of 159) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DAlgorithmChecker.java36 import java.security.PublicKey;
74 private final PublicKey trustedPubKey;
75 private PublicKey prevPubKey;
184 PublicKey currPubKey = x509Cert.getPublicKey();
333 static void check(PublicKey key, X509CRL crl)
353 static void check(PublicKey key, AlgorithmId algorithmId)
H A DCrlRevocationChecker.java40 import java.security.PublicKey;
93 private PublicKey mPrevPubKey;
214 PublicKey cKey = currCert.getPublicKey();
230 * @param prevKey the previous PublicKey in the chain
238 public boolean check(X509Certificate currCert, PublicKey prevKey,
267 PublicKey prevKey, boolean signFlag, boolean allowSeparateKey)
285 PublicKey prevKey, boolean signFlag, boolean allowSeparateKey,
444 * @param prevKey the <code>PublicKey</code> that failed
456 PublicKey prevKey, boolean signFlag, Set<X509Certificate> stackedCerts)
497 * @param prevKey the <code>PublicKey</cod
[all...]
H A DReverseState.java29 import java.security.PublicKey;
65 PublicKey pubKey;
268 private void updateState(PublicKey pubKey, X500Principal subjectDN) {
294 PublicKey newKey = cert.getPublicKey();
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAKeyFactory.java37 * KeyFactory for RSA keys. Keys must be instances of PublicKey or PrivateKey
42 * . PublicKey with an X.509 encoding
188 if (key instanceof PublicKey) {
189 return translatePublicKey((PublicKey)key);
198 protected PublicKey engineGeneratePublic(KeySpec keySpec)
222 private PublicKey translatePublicKey(PublicKey key)
294 private PublicKey generatePublic(KeySpec keySpec)
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11DSAKeyFactory.java50 PublicKey implTranslatePublicKey(PublicKey key) throws InvalidKeyException {
67 throw new InvalidKeyException("PublicKey must be instance "
102 protected PublicKey engineGeneratePublic(KeySpec keySpec)
108 PublicKey key = new sun.security.provider.DSAPublicKey(encoded);
165 private PublicKey generatePublic(BigInteger y, BigInteger p, BigInteger q,
H A DP11ECKeyFactory.java84 static byte[] getEncodedPublicValue(PublicKey key) throws InvalidKeyException {
99 PublicKey implTranslatePublicKey(PublicKey key) throws InvalidKeyException {
113 throw new InvalidKeyException("PublicKey must be instance "
145 protected PublicKey engineGeneratePublic(KeySpec keySpec)
151 PublicKey key = new sun.security.ec.ECPublicKeyImpl(encoded);
204 private PublicKey generatePublic(ECPoint point, ECParameterSpec params) throws PKCS11Exception {
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DX509Key.java32 import java.security.PublicKey;
60 public class X509Key implements PublicKey {
160 public static PublicKey parse(DerValue in) throws IOException
163 PublicKey subjectKey;
205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key)
242 classname = sunProvider.getProperty("PublicKey.X.509." +
/openjdk7/jdk/src/share/classes/java/security/
H A DIdentity.java77 private PublicKey publicKey;
159 public PublicKey getPublicKey() {
184 public void setPublicKey(PublicKey key) throws KeyManagementException {
H A DIdentityScope.java207 public abstract Identity getIdentity(PublicKey key);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/keyvalues/
H A DDSAKeyValue.java27 import java.security.PublicKey;
112 public PublicKey getPublicKey() throws XMLSecurityException {
126 PublicKey pk = dsaFactory.generatePublic(pkspec);
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCipherWithWrappingSpi.java29 import java.security.PublicKey;
164 private final PublicKey constructPublicKey(byte[] encodedKey,
168 PublicKey key = null;
H A DDHPublicKey.java34 import java.security.PublicKey;
49 final class DHPublicKey implements PublicKey,
308 if (!(obj instanceof PublicKey))
312 byte[] thatEncoded = ((PublicKey)obj).getEncoded();
/openjdk7/jdk/test/sun/security/mscapi/
H A DSignUsingSHA2withRSA.java63 PublicKey publicKey = null;
70 publicKey = (PublicKey) ks.getCertificate(alias).getPublicKey();
124 private static void verifyUsing(String signAlgorithm, PublicKey publicKey,
H A DPublicKeyInterop.java47 PublicKey myPuKey =
48 (PublicKey) ks.getCertificate("6888925").getPublicKey();
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMKeyInfoFactory.java31 import java.security.PublicKey;
62 public KeyValue newKeyValue(PublicKey key) throws KeyException {
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/
H A DXMLX509Certificate.java24 import java.security.PublicKey;
131 public PublicKey getPublicKey() throws XMLSecurityException {
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/
H A DEncryptedKeyResolver.java24 import java.security.PublicKey;
85 public PublicKey engineLookupAndResolvePublicKey(
H A DRSAKeyValueResolver.java25 import java.security.PublicKey;
53 public PublicKey engineLookupAndResolvePublicKey(
H A DX509CertificateResolver.java25 import java.security.PublicKey;
62 public PublicKey engineLookupAndResolvePublicKey(
/openjdk7/jdk/test/sun/security/rsa/
H A DGenKeyStore.java46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception {
69 PublicKey pubKey = kp.getPublic();
H A DTestCACerts.java58 PublicKey key = cert.getPublicKey();
/openjdk7/jdk/test/sun/security/pkcs11/KeyAgreement/
H A DTestInterop.java91 PublicKey pubA = kf.generatePublic(pubSpecA);
96 PublicKey pubB = kf.generatePublic(pubSpecB);
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DGenKeyStore.java46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception {
69 PublicKey pubKey = kp.getPublic();
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509Certificate.java30 import java.security.PublicKey;
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DSignatureBaseRSA.java28 import java.security.PublicKey;
110 if (!(publicKey instanceof PublicKey)) {
112 String needed = PublicKey.class.getName();
120 this._signatureAlgorithm.initVerify((PublicKey) publicKey);

Completed in 61 milliseconds

1234567