/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
CertStoreCollectionSpi.java | 11 import java.security.cert.Certificate; 51 if (obj instanceof Certificate) 63 if ((obj instanceof Certificate) && selector.match((Certificate)obj))
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ClientTransactionExt.java | 3 import java.security.cert.Certificate;
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
FakeSSLSession.java | 22 import java.security.cert.Certificate; 63 public Certificate[] getLocalCertificates() { 83 public Certificate[] getPeerCertificates() {
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
FakeSSLSession.java | 21 import java.security.cert.Certificate; 59 public Certificate[] getLocalCertificates() { 79 public Certificate[] getPeerCertificates() {
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 22 import java.security.cert.Certificate; 46 private final Certificate[] sslLocalCertificates; 47 private final Certificate[] sslPeerCertificates; 66 Certificate[] peerCertificates = null; 216 public Certificate[] getSslLocalCertificates() { 234 public Certificate[] getSslPeerCertificates() {
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
X509CertificateTest.java | 26 import java.security.cert.Certificate; 58 This certificate is a modified version of the following self-signed cert: 60 -----BEGIN CERTIFICATE----- 89 -----END CERTIFICATE----- 91 The cert has been modified to change the certificate data's signature algorithm 96 "-----BEGIN CERTIFICATE-----\n" 125 + "-----END CERTIFICATE-----\n"; 131 "-----BEGIN CERTIFICATE-----\n" 143 + "-----END CERTIFICATE-----\n"; 153 Certificate c = cf.generateCertificate(new ByteArrayInputStream [all...] |
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/ |
X509CertificateTest.java | 27 import java.security.cert.Certificate; 62 This certificate is a modified version of the following self-signed cert: 64 -----BEGIN CERTIFICATE----- 93 -----END CERTIFICATE----- 95 The cert has been modified to change the certificate data's signature algorithm 100 "-----BEGIN CERTIFICATE-----\n" 129 + "-----END CERTIFICATE-----\n"; 135 "-----BEGIN CERTIFICATE-----\n" 147 + "-----END CERTIFICATE-----\n"; 157 Certificate c = cf.generateCertificate(new ByteArrayInputStream [all...] |
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/ |
keymaster_types.proto | 44 message Certificate { 49 repeated Certificate certificates = 1;
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_certificate.cpp | 21 constexpr wchar_t kName[] = L"certificate"; 30 XFA_Element::Certificate,
|
/external/curl/docs/cmdline-opts/ |
cert-type.d | 4 Help: Certificate file type 7 Tells curl what type the provided client certificate is using. PEM, DER, ENG
|
crlfile.d | 7 Provide a file using PEM format with a Certificate Revocation List that may
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CheckHandshake.java | 24 import java.security.cert.Certificate; 34 for (Certificate certificate : chain.connection().getHandshake().peerCertificates()) { 35 String pin = CertificatePinner.pin(certificate); 37 throw new IOException("Blacklisted peer certificate: " + pin);
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
CertInstallerReceiver.java | 32 import java.security.cert.Certificate; 36 * Delegated certificate installer app that responds to specific intents and executes various DPM 37 * certificate manipulation APIs. The following APIs are exercised: 128 Certificate certificate = CertificateFactory.getInstance("X.509") local 138 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), 160 Certificate certificateToMatch = readCertificate(toMatch); 162 Certificate cert = readCertificate(certBuffer); 170 private static Certificate readCertificate(byte[] certBuffer) throws CertificateException {
|
DirectDelegatedCertInstallerTest.java | 42 import java.security.cert.Certificate; 49 * Tests the delegated certificate installer functionality. 61 "-----BEGIN CERTIFICATE-----\n" + 81 "-----END CERTIFICATE-----"; 135 final Certificate caCert = CertificateFactory.getInstance("X.509") 141 assertWithMessage("CA certificate must not be installed in KeyStore at the" 143 assertWithMessage("CA certificate must not be installed in the DPM at the" 147 assertWithMessage("Expecting CA certificate installation to succeed").that( 173 Certificate certificate = CertificateFactory.getInstance("X.509" local [all...] |
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
CertInstallDelegateTest.java | 37 import java.security.cert.Certificate; 54 "-----BEGIN CERTIFICATE-----\n" + 74 "-----END CERTIFICATE-----"; 143 assertTrue("Certificate installation failed", mDpm.installCaCert(null, cert)); 146 assertTrue("Certificate is not installed properly", mDpm.hasCaCertInstalled(null, cert)); 149 assertTrue("Certificate is not among installed certs", 154 assertFalse("Certificate was not uninstalled", mDpm.hasCaCertInstalled(null, cert)); 164 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( local 168 mDpm.installKeyPair(null, privatekey, certificate, alias)) [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
CaCertManagementTest.java | 24 import java.security.cert.Certificate; 39 // Maximal number of times to check whether a certificate is in the accepted 73 * Test: removing one certificate must not remove any others. 89 * supplementary installed certificate. 103 Certificate caCert = readCertificate(caBytes); 109 Certificate caCert = readCertificate(caBytes); 126 * <p>A CA certificate is "installed" if it matches all of the following conditions: 129 * <li>{@link DevicePolicyManager#getInstalledCaCerts} lists a matching certificate (not 131 * <li>Any new instances of {@link TrustManager} should report the certificate among their 138 private boolean isCaCertInstalledAndTrusted(Certificate caCert [all...] |
KeyManagementTest.java | 57 import java.security.cert.Certificate; 115 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); 139 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); 144 getWho(), privKey, new Certificate[] {cert}, grant, true)) 148 getWho(), privKey, new Certificate[] {cert}, withhold, false)) 167 private List<Certificate> loadCertificateChain(String assetName) throws Exception { 168 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName); 169 final ArrayList<Certificate> certChain = new ArrayList(certs); 181 final Certificate[] certChain = loadCertificateChain("user-cert-chain.crt") 182 .toArray(new Certificate[0]) [all...] |
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 28 import java.security.cert.Certificate; 63 @Override public Certificate[] getLocalCertificates() { 66 List<Certificate> result = handshake.localCertificates(); 67 return !result.isEmpty() ? result.toArray(new Certificate[result.size()]) : null; 70 @Override public Certificate[] getServerCertificates() throws SSLPeerUnverifiedException { 73 List<Certificate> result = handshake.peerCertificates(); 74 return !result.isEmpty() ? result.toArray(new Certificate[result.size()]) : null;
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 29 import java.security.cert.Certificate; 64 @Override public Certificate[] getLocalCertificates() { 67 List<Certificate> result = handshake.localCertificates(); 68 return !result.isEmpty() ? result.toArray(new Certificate[result.size()]) : null; 71 @Override public Certificate[] getServerCertificates() throws SSLPeerUnverifiedException { 74 List<Certificate> result = handshake.peerCertificates(); 75 return !result.isEmpty() ? result.toArray(new Certificate[result.size()]) : null;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 28 import org.bouncycastle.asn1.x509.Certificate; 37 * At the moment this will deal with "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" 46 private static final PEMUtil PEM_CERT_PARSER = new PEMUtil("CERTIFICATE"); 58 private java.security.cert.Certificate readDERCertificate( 65 private java.security.cert.Certificate readPEMCertificate( 72 private java.security.cert.Certificate getCertificate(ASN1Sequence seq) 93 Certificate.getInstance(seq)); 96 private java.security.cert.Certificate getCertificate() 108 Certificate.getInstance(obj)) [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 29 import com.android.org.bouncycastle.asn1.x509.Certificate; 38 * At the moment this will deal with "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" 48 private static final PEMUtil PEM_CERT_PARSER = new PEMUtil("CERTIFICATE"); 60 private java.security.cert.Certificate readDERCertificate( 67 private java.security.cert.Certificate readPEMCertificate( 74 private java.security.cert.Certificate getCertificate(ASN1Sequence seq) 95 Certificate.getInstance(seq)); 98 private java.security.cert.Certificate getCertificate() 110 Certificate.getInstance(obj)) [all...] |
/bootable/recovery/install/ |
verifier.cpp | 113 int verify_file(VerifierInterface* package, const std::vector<Certificate>& keys) { 279 if (key.key_type == Certificate::KEY_TYPE_RSA) { 288 } else if (key.key_type == Certificate::KEY_TYPE_EC && key.hash_len == SHA256_DIGEST_LENGTH) { 312 static std::vector<Certificate> IterateZipEntriesAndSearchForKeys(const ZipArchiveHandle& handle) { 317 LOG(ERROR) << "Failed to iterate over entries in the certificate zipfile: " 322 std::vector<Certificate> result; 335 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); 354 std::vector<Certificate> LoadKeysFromZipfile(const std::string& zip_name) { 361 std::vector<Certificate> result = IterateZipEntriesAndSearchForKeys(handle) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
CertBlacklistTest.java | 24 import java.security.cert.Certificate; 92 Collection<? extends Certificate> collection = factory.generateCertificates(is); 95 for (Certificate cert : collection) {
|
ConscryptIntermediateVerificationTest.java | 24 import java.security.cert.Certificate; 42 Collection<? extends Certificate> certs; 54 for (Certificate cert : certs) { 89 // L is a certificate issued by I for example.com 90 // L' is a certificate issued by I for android.com
|
/external/conscrypt/platform/src/test/java/org/conscrypt/ |
CertBlacklistTest.java | 21 import java.security.cert.Certificate; 89 Collection<? extends Certificate> collection = factory.generateCertificates(is); 93 for (Certificate cert : collection) {
|