Searched refs:certificate (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/java/security/
H A DIdentity.java224 * Adds a certificate for this identity. If the identity has a public
225 * key, the public key in the certificate must be the same, and if
227 * public key is set to be that specified in the certificate.
231 * as its argument to see if it's ok to add a certificate.
233 * @param certificate the certificate to be added.
235 * @exception KeyManagementException if the certificate is not valid,
236 * if the public key in the certificate being added conflicts with
241 * adding a certificate.
245 public void addCertificate(Certificate certificate) argument
295 removeCertificate(Certificate certificate) argument
[all...]
H A DSignature.java457 * the given certificate.
458 * <p>If the certificate is of type X.509 and has a <i>key usage</i>
461 * the certificate and its corresponding private key are not
465 * @param certificate the certificate of the identity whose signature is
468 * @exception InvalidKeyException if the public key in the certificate
473 public final void initVerify(Certificate certificate) argument
475 // If the certificate is of type X509Certificate,
478 if (certificate instanceof java.security.cert.X509Certificate) {
482 X509Certificate cert = (X509Certificate)certificate;
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509CRL.java50 * <p>Each revoked certificate is
51 * identified in a CRL by its certificate serial number. When a
52 * certificate-using system uses a certificate (e.g., for verifying a
54 * certificate signature and validity but also acquires a suitably-
55 * recent CRL and checks that the certificate serial number is not on
60 * entry may be removed when the certificate expiration date is reached.
94 * CRLs are instantiated using a certificate factory. The following is an
179 * @return the encoded form of this certificate
320 * Gets the CRL entry, if any, with the given certificate serialNumbe
348 getRevokedCertificate(X509Certificate certificate) argument
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathBuilder/selfIssued/
H A DREADME120 4. subca certificate and key
157 5. crl issuer of subca, the certificate and key
206 7. dumca certificate and key
243 8. crl issuer for dumca, the certificate and key
279 9. end entity certificate issued by subca, Alice
314 10. end entity certificate issued by subca, Bob
349 11. end entity certificate issued by subca, Susan
/openjdk7/jdk/test/java/security/cert/CertPathValidator/indirectCRL/
H A DREADME114 4. subca certificate and key
150 5. crl issuer of subca, the certificate and key
197 7. dumca certificate and key
233 8. crl issuer for dumca, the certificate and key
269 9. end entity certificate issued by subca, Alice
304 10. end entity certificate issued by subca, Bob
339 10. end entity certificate issued by subca, Susan
/openjdk7/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/
H A DREADME149 4. subca certificate and key (SHA1withRSA 1024, root_cert_sha1_1024.pem signed)
186 5. subca certificate and key (SHA1withRSA 1024, root_cert_sha1_512.pem signed)
222 6. subca certificate and key (SHA1withRSA 512, root_cert_sha1_1024.pem signed)
250 7. subca certificate and key (SHA1withRSA 512, root_cert_sha1_512.pem signed)
277 8. subca certificate and key (MD2withRSA 1024, root_cert_sha1_1024.pem signed)
314 9. subca certificate and key (MD2withRSA 1024, root_cert_sha1_512.pem signed)
350 a. end entity certificate and key
386 b. end entity certificate and key
421 c. end entity certificate and key
450 d. end entity certificate an
[all...]
/openjdk7/jdk/src/macosx/native/apple/security/
H A DKeystoreImpl.m279 // Search the user keychain list for all identities. Identities are a certificate/private key association that
291 SecCertificateRef certificate;
292 SecIdentityCopyCertificate(theIdentity, &certificate);
300 // Make a java array of certificate data from the chain.
305 // And, make an array of the certificate refs.
314 currCertRef = certificate;
332 jstring alias = getLabelFromItem(env, (SecKeychainItemRef)certificate);
335 jlong creationDate = getModDateFromItem(env, (SecKeychainItemRef)certificate);
360 // Make a byte array with the DER-encoded contents of the certificate.
444 // Look for 'identities' -- private key and certificate chai
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipher.java219 // The OID for the KeyUsage extension in an X.509 v3 certificate
1487 * Initializes this cipher with the public key from the given certificate.
1492 * <p>If the certificate is of type X.509 and has a <i>key usage</i>
1495 * the certificate and its corresponding private key are not
1502 * derived from the public key in the given certificate, the underlying
1536 * @param certificate the certificate
1539 * certificate is inappropriate for initializing this cipher, or this
1541 * public key in the given certificate, or the keysize of the public key
1542 * in the given certificate ha
1546 init(int opmode, Certificate certificate) argument
1613 init(int opmode, Certificate certificate, SecureRandom random) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DKeyStoreLoginModule.java77 * first certificate in the alias's credentials in the subject's principals,
78 * the alias's certificate path in the subject's public credentials, and a
79 * <code>X500PrivateCredential</code> whose certificate is the first
80 * certificate in the alias's certificate path and whose private key is the
650 /* Get certificate chain and create a certificate path */
659 "Unable to find X.509 certificate chain in keystore");
683 X509Certificate certificate = (X509Certificate)fromKeyStore[0];
685 (certificate
[all...]

Completed in 51 milliseconds