Lines Matching defs:certificate

219     // 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 has a keysize that exceeds the maximum
1546 public final void init(int opmode, Certificate certificate)
1549 init(opmode, certificate, JceSecurity.RANDOM);
1553 * Initializes this cipher with the public key from the given certificate
1562 * <p>If the certificate is of type X.509 and has a <i>key usage</i>
1565 * the certificate and its corresponding private key are not
1572 * derived from the public key in the given <code>certificate</code>,
1601 * @param certificate the certificate
1605 * certificate is inappropriate for initializing this cipher, or this
1608 * public key in the given certificate, or the keysize of the public key
1609 * in the given certificate has a keysize that exceeds the maximum
1613 public final void init(int opmode, Certificate certificate,
1620 // Check key usage if the certificate is of
1622 if (certificate instanceof java.security.cert.X509Certificate) {
1625 X509Certificate cert = (X509Certificate)certificate;
1646 (certificate==null? null:certificate.getPublicKey());