HomeSort by relevance Sort by last modified time
    Searched refs:Certificate (Results 1 - 25 of 422) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/security/cert/
CertSelector.java 30 * {@code Certificate}s. Classes that implement this interface
31 * are often used to specify which {@code Certificate}s should
42 * @see Certificate
52 * Decides whether a {@code Certificate} should be selected.
54 * @param cert the {@code Certificate} to be checked
55 * @return {@code true} if the {@code Certificate}
58 boolean match(Certificate cert);
CertPathChecker.java 29 * <p>Performs one or more checks on each {@code Certificate} of a
34 * may check for and process a critical private extension of each certificate
68 * Performs the check(s) on the specified certificate using its internal
72 * @param cert the {@code Certificate} to be checked
73 * @throws CertPathValidatorException if the specified certificate does
76 void check(Certificate cert) throws CertPathValidatorException;
CRL.java 29 * This class is an abstraction of certificate revocation lists (CRLs) that
32 * on whether or not they list a given certificate.
81 * Checks whether the given certificate is on this CRL.
83 * @param cert the certificate to check for.
84 * @return true if the given certificate is on this CRL,
87 public abstract boolean isRevoked(Certificate cert);
CertificateFactorySpi.java 41 * of a certificate factory for a particular certificate type, e.g., X.509.
43 * <p>Certificate factories are used to generate certificate, certification path
44 * ({@code CertPath}) and certificate revocation list (CRL) objects from
47 * <p>A certificate factory for X.509 must return certificates that are an
57 * @see Certificate
69 * Generates a certificate object and initializes it with
72 * <p>In order to take advantage of the specialized certificate format
73 * supported by this certificate factory
    [all...]
  /libcore/ojluni/src/main/java/java/net/
SecureCacheResponse.java 28 import java.security.cert.Certificate;
49 * Returns the certificate chain that were sent to the server during
52 * when using certificate-based cipher suites.
54 * @return an immutable List of Certificate representing the
55 * certificate chain that was sent to the server. If no
56 * certificate chain was sent, null will be returned.
59 public abstract List<Certificate> getLocalCertificateChain();
62 * Returns the server's certificate chain, which was established as
65 * can be used only when using certificate-based cipher suites;
66 * using it with non-certificate-based cipher suites, such a
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
TransactionExt.java 4 import java.security.cert.Certificate;
56 * Get the certificate(s) that were sent to the peer during handshaking.
57 *@return the certificate(s) that were sent to the peer during handshaking.
61 Certificate[] getLocalCertificates() throws UnsupportedOperationException;
68 Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException;
  /frameworks/base/keystore/java/android/security/
AttestedKeyPair.java 20 import java.security.cert.Certificate;
36 private final Certificate[] mAttestationRecord;
41 public AttestedKeyPair(KeyPair keyPair, Certificate[] attestationRecord) {
57 * The attestation record is a chain of certificates. The leaf certificate links to the public
59 * hardware, and if the secure hardware supports attestation, the leaf certificate will be
61 * rooted at an untrusted certificate.
67 * Key Attestation</a> for the format of the attestation record inside the certificate.
69 public List<Certificate> getAttestationRecord() {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Handshake.java 21 import java.security.cert.Certificate;
37 private final List<Certificate> peerCertificates;
38 private final List<Certificate> localCertificates;
41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) {
51 Certificate[] peerCertificates;
57 List<Certificate> peerCertificatesList = peerCertificates != null
59 : Collections.<Certificate>emptyList();
61 Certificate[] localCertificates = session.getLocalCertificates();
62 List<Certificate> localCertificatesList = localCertificates != nul
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingContext.java 24 import java.security.cert.Certificate;
34 * The {@link Certificate} of the local endpoint of the protocol.
36 private Certificate mLocalCertificate;
39 * The {@link Certificate} of the remote endpoint of the protocol.
41 private Certificate mPeerCertificate;
61 * @param localCertificate the local endpoint's {@link Certificate}
62 * @param peerCertificate the remote endpoint's {@link Certificate}
67 public PairingContext(Certificate localCertificate,
68 Certificate peerCertificate, InputStream peerInputStream,
88 Certificate localCert = PoloUtil.getLocalCert(socket.getSession())
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/
JcaX509CertificateHolder.java 6 import org.bouncycastle.asn1.x509.Certificate;
18 * @param cert certificate to be used a the source for the holder creation.
19 * @throws CertificateEncodingException if there is a problem extracting the certificate information.
24 super(Certificate.getInstance(cert.getEncoded()));
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCRL.java 26 import java.security.cert.Certificate;
52 * @param cert <code>Certificate</code> to be checked
54 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate)
56 public boolean isRevoked(Certificate cert) {
  /libcore/luni/src/test/java/tests/security/cert/
CollectionCertStoreParametersTest.java 28 import java.security.cert.Certificate;
76 Vector<Certificate> certificates = new Vector<Certificate>();
88 // a Certificate or CRL
90 certificates.add(new String("Not a Certificate"));
99 Vector<Certificate> certificates = new Vector<Certificate>();
130 Vector<Certificate> certificates = new Vector<Certificate>();
144 Vector<Certificate> certificates = new Vector<Certificate>()
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
PKIXCertStore.java 3 import java.security.cert.Certificate;
11 * Generic interface for a PKIX based certificate store.
13 * @param <T> the certificate type.
15 public interface PKIXCertStore<T extends Certificate>
  /frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
MediaDrmSigner.java 23 * Provides certificate request generation, response handling and
30 * Specify X.509 certificate type
35 * Contains the opaque data an app uses to request a certificate from a provisioning
53 * Get the default URL to use when sending the certificate request
55 * certificate server URL obtained from other sources.
63 * Contains the wrapped private key and public certificate data associated
64 * with a certificate.
66 public final static class Certificate {
67 private final MediaDrm.Certificate mCertificate;
69 Certificate(MediaDrm.Certificate certificate)
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_DummyPKCS12Keystore.java 28 import java.security.cert.Certificate;
49 public Certificate[] engineGetCertificateChain(String arg0) {
54 public Certificate engineGetCertificate(String arg0) {
65 Certificate[] arg3) throws KeyStoreException {
69 public void engineSetKeyEntry(String arg0, byte[] arg1, Certificate[] arg2)
74 public void engineSetCertificateEntry(String arg0, Certificate arg1)
108 public String engineGetCertificateAlias(Certificate arg0) {
  /external/apache-http/android/src/android/net/http/
DelegatingSSLSession.java 20 import java.security.cert.Certificate;
30 * This is only used when a {@code certificate} is available but usage
38 private final Certificate mCertificate;
40 public CertificateWrap(Certificate certificate) {
41 mCertificate = certificate;
45 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
46 return new Certificate[] { mCertificate };
77 public Certificate[] getLocalCertificates() {
98 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
Certificate.java 14 * Certificate ::= SEQUENCE {
21 public class Certificate
29 public static Certificate getInstance(
36 public static Certificate getInstance(
39 if (obj instanceof Certificate)
41 return (Certificate)obj;
45 return new Certificate(ASN1Sequence.getInstance(obj));
51 private Certificate(
68 throw new IllegalArgumentException("sequence wrong size for a certificate");
  /external/conscrypt/platform/src/main/java/org/conscrypt/
TrustedCertificateKeyStoreSpi.java 23 import java.security.cert.Certificate;
47 public Certificate[] engineGetCertificateChain(String alias) {
55 public Certificate engineGetCertificate(String alias) {
66 String alias, Key key, char[] password, Certificate[] chain) {
71 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) {
76 public void engineSetCertificateEntry(String alias, Certificate cert) {
117 public String engineGetCertificateAlias(Certificate c) {
  /libcore/benchmarks/src/benchmarks/regression/
HostnameVerifierBenchmark.java 24 import java.security.cert.Certificate;
34 * certificate in the benchmark loop, being careful to convert from the
35 * byte[] to the certificate each time. Otherwise the certificate class
37 * each certificate instance is verified once and then released.
73 final Certificate[] certificates = bytesToCertificates(encodedCertificates);
75 @Override public Certificate[] getPeerCertificates() {
83 private byte[][] certificatesToBytes(Certificate[] certificates) throws Exception {
91 private Certificate[] bytesToCertificates(byte[][] encodedCertificates) throws Exception {
93 Certificate[] result = new Certificate[encodedCertificates.length]
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
FakeSSLSession.java 20 import java.security.cert.Certificate;
27 private final Certificate[] certificates;
29 public FakeSSLSession(Certificate... certificates) throws Exception {
53 public Certificate[] getLocalCertificates() {
65 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
  /libcore/ojluni/src/main/java/javax/net/ssl/
HandshakeCompletedEvent.java 29 import java.security.cert.Certificate;
94 * Returns the certificate(s) that were sent to the peer during
96 * Note: This method is useful only when using certificate-based
101 * "best" certificate chain available, and transmits that to
103 * which certificate chain was actually used.
106 * certificate first followed by any
107 * certificate authorities. If no certificates were sent,
111 public java.security.cert.Certificate [] getLocalCertificates()
120 * Note: This method can be used only when using certificate-based
121 * cipher suites; using it with non-certificate-based cipher suites
    [all...]
  /cts/tools/utils/
certificates.py 21 class Certificate(object):
49 return Certificate(cert, key)
77 return Certificate(cert, key)
81 a = Certificate.create("Root A")
82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1")
83 b = Certificate.create("Root B")
84 a_to_b = Certificate.create("Root A", b, a.key)
85 b_to_a = Certificate.create("Root B", a, b.key)
86 leaf1 = Certificate.create("Leaf", a)
87 intermediate_a = Certificate.create("intermediate", a
    [all...]
  /libcore/ojluni/src/main/java/java/util/jar/
JarEntry.java 31 import java.security.cert.Certificate;
39 Certificate[] certs;
91 * Returns the <code>Certificate</code> objects for this entry, or
97 * <p>The returned certificate array comprises all the signer certificates
98 * that were used to verify this entry. Each signer certificate is
99 * followed by its supporting certificate chain (which may be empty).
100 * Each signer certificate and its supporting certificate chain are ordered
101 * bottom-to-top (i.e., with the signer certificate first and the (root)
102 * certificate authority last)
    [all...]
  /packages/apps/KeyChain/robotests/src/com/android/keychain/
ShadowTrustedCertificateStore.java 25 import java.security.cert.Certificate;
42 public String getCertificateAlias(Certificate cert) {
47 public Certificate getCertificate(String alias) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
CertificateChainCleaner.java 20 import java.security.cert.Certificate;
30 * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
32 * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
33 * certificate.
36 * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate
55 * <p>This method throws if the complete chain to a trusted CA certificate cannot be constructed.
59 public List<Certificate> clean(List<Certificate> chain) throws SSLPeerUnverifiedException
    [all...]

Completed in 757 milliseconds

1 2 3 4 5 6 7 8 91011>>