/libcore/ojluni/src/main/java/java/security/cert/ |
CertSelector.java | 30 * <code>Certificate</code>s. Classes that implement this interface 31 * are often used to specify which <code>Certificate</code>s should 42 * @see Certificate 52 * Decides whether a <code>Certificate</code> should be selected. 54 * @param cert the <code>Certificate</code> to be checked 55 * @return <code>true</code> if the <code>Certificate</code> 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);
|
/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;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateTest.java | 28 import java.security.cert.Certificate; 37 * Tests for <code>Certificate</code> fields and methods 63 * Assertion: returns hash of the <code>Certificate</code> instance 66 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); 67 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); 77 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); 78 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); 86 * Assertion: returns this certificate type 89 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); 98 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding) [all...] |
/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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCRL.java | 25 import java.security.cert.Certificate; 50 * @param cert <code>Certificate</code> to be checked 52 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate) 54 public boolean isRevoked(Certificate cert) {
|
/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) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSTrustedCertificateEntryTest.java | 25 import java.security.cert.Certificate; 38 * Test for <codfe>KeyStore.TrustedCertificateEntry(Certificate trustCert)</code> 43 Certificate cert = null; 53 * Assertion: returns trusted Certificate from goven entry 56 Certificate cert = new MyCertificate("TEST", new byte[10]); 59 assertEquals("Incorrect certificate", cert, ksTCE.getTrustedCertificate()); 67 Certificate cert = new MyCertificate("TEST", new byte[10]);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSTrustedCertificateEntryTest.java | 26 import java.security.cert.Certificate; 41 * Test for <codfe>KeyStore.TrustedCertificateEntry(Certificate trustCert)</code> 46 Certificate cert = null; 65 * Assertion: returns trusted Certificate from goven entry 68 Certificate cert = new MyCertificate("TEST", new byte[10]); 71 assertEquals("Incorrect certificate", cert, ksTCE.getTrustedCertificate()); 79 Certificate cert = new MyCertificate("TEST", new byte[10]);
|
/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>
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
CollectionCertStore.java | 29 import java.security.cert.Certificate; 51 * <code>Collection</code> from which <code>Certificate</code>s and 54 * <code>Certificate</code> or <code>CRL</code>, that object will be 70 * detected and certificate or CRL retrieval can be retried. The fact that 71 * <code>Certificate</code>s and <code>CRL</code>s must be thread-safe is also 105 * Returns a <code>Collection</code> of <code>Certificate</code>s that 106 * match the specified selector. If no <code>Certificate</code>s 110 * <code>Certificate</code>s should be returned. Specify <code>null</code> 111 * to return all <code>Certificate</code>s. 112 * @return a <code>Collection</code> of <code>Certificate</code>s tha [all...] |
/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/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStoreSpi.java | 33 import java.security.cert.Certificate; 49 public Certificate[] engineGetCertificateChain(String alias) { 53 public Certificate engineGetCertificate(String alias) { 62 Certificate[] chain) throws KeyStoreException { 67 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) 73 public void engineSetCertificateEntry(String alias, Certificate cert) 104 public String engineGetCertificateAlias(Certificate cert) {
|
/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/src/platform/java/org/conscrypt/ |
TrustedCertificateKeyStoreSpi.java | 23 import java.security.cert.Certificate; 44 public Certificate[] engineGetCertificateChain(String alias) { 52 public Certificate engineGetCertificate(String alias) { 63 String alias, Key key, char[] password, Certificate[] chain) { 68 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) { 73 public void engineSetCertificateEntry(String alias, Certificate cert) { 114 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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
CertificateTest.java | 26 import java.security.cert.Certificate; 36 * Tests for <code>Certificate</code> serialization 40 // certificate type to be created during testing 50 Certificate cert = cf.generateCertificate(new ByteArrayInputStream( 63 Certificate cert = cf.generateCertificate(new ByteArrayInputStream( 70 * Test for <code>Certificate.CertificateRep.readResolve()</code> method<br> 77 Certificate c1 = new MyCertificate("DUMMY", new byte[] { (byte) 0, (byte) 1 }); 93 Certificate c1 = new MyCertificate("DUMMY", null);
|
/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 {
|