/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 45 // We must read the stream for the JarEntry to retrieve its certificates. 55 System.out.println("We have no certificates"); 57 System.out.println("We have " + certs.length + " certificates");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 96 * Assertion: throws IllegalArgumentException when chain contains certificates 103 fail("IllegalArgumentException must be thrown when chain contains certificates of different types"); 137 * array of the Certificates corresponding to chain
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
AdaptableX509CertSelector.java | 69 * when we face root CA key updates for version 1 certificates, according 74 * 1 and version 2 certificates. For version 3 certificates, we can
|
PKIXCertPathValidator.java | 91 List<X509Certificate> certList = params.certificates(); 165 int certPathLen = params.certificates().size(); 216 params.certificates(),
|
ConstraintsChecker.java | 241 // certificates.) 244 // certificates except that it is self issued by the trust 291 * certificates can follow, Integer.MAX_VALUE means path length is
|
/external/boringssl/src/ssl/test/runner/ |
common.go | 266 // Certificates contains one or more certificate chains 269 Certificates []Certificate 272 // Certificates. Note that a certificate name can be of the form 275 // The nil value causes the first element of Certificates to be used 280 // that clients use when verifying server certificates. 288 // certificates unless InsecureSkipVerify is given. It is also included 899 // defaulting to the first element of c.Certificates if there are no good 902 if len(c.Certificates) == 1 || c.NameToCertificate == nil { 904 return &c.Certificates[0] 928 return &c.Certificates[0 [all...] |
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
PkgInstallSignatureVerificationTest.java | 298 // APK is signed with v2 only. There are no certificates listed in the signer block. 299 // Obtained by modifying APK signer to output no certificates. 300 assertInstallFailsWithError("v2-only-no-certs-in-sig.apk", "No certificates listed"); 307 // certificates exposed by v2 signatures above are the same as the one exposed by v1 344 // Obtained by prepending the rsa-1024 certificate to the PKCS#7 SignedData certificates set 360 // original encoded form of signing certificates, bad things happen, such as rejection of 363 // the original form because X.509 certificates are supposed to be DER-encoded. However, a 364 // small fraction of Android apps uses X.509 certificates which are not DER-encoded. For 393 // does not preserve the original encoded form of signing certificates, bad things happen, 396 // normally produces exactly the original form because X.509 certificates are supposed to b [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 67 * Returns an array of 3 test certificates. IMP: The array returned is not 68 * real chain of certificates, it's just an array of 3 certs. The method 72 * @return an array of 3 certificates 82 * certificates to store. 157 * to obtain list of certificates.<br> 167 * Constructs TestCertPath and keeps the given array of certificates.<br> 169 * have different set of certificates)<br> 228 * (int) number of certificates in this CertPath<br> 229 * <array of certificates> 667 * a) any of Certificates passed is not an instance of X509Certificat [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/ |
X509Factory.java | 42 * This class defines a certificate factory for X.509 v3 certificates & 136 * Note that all certificates created via generateCertificate(InputStream) 138 * It is useful for certificates that cannot be created via 284 * The certificates supplied must be of a type supported by the 288 * @param certificates a <code>List</code> of <code>Certificate</code>s 290 * certificates 295 engineGenerateCertPath(List<? extends Certificate> certificates) 298 return(new X509CertPath(certificates)); 318 * Returns a (possibly empty) collection view of X.509 certificates read 321 * @param is the input stream with the certificates [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 69 * Returns an array of 3 test certificates. IMP: The array returned is not 70 * real chain of certificates, it's just an array of 3 certs. The method 74 * @return an array of 3 certificates 84 * certificates to store. 160 * to obtain list of certificates.<br> 170 * Constructs TestCertPath and keeps the given array of certificates.<br> 172 * have different set of certificates)<br> 231 * (int) number of certificates in this CertPath<br> 232 * <array of certificates> 672 * a) any of Certificates passed is not an instance of X509Certificat [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedData.java | 544 * @param certificates the new certificates to be used. 545 * @param attrCerts the new attribute certificates to be used. 552 Store certificates, 568 if (certificates != null || attrCerts != null) 572 if (certificates != null) 574 certs.addAll(CMSUtils.getCertificatesFromStore(certificates));
|
/external/libmicrohttpd/doc/chapters/ |
tlsauthentication.inc | 120 that they should not accept certificates of unknown origin. 123 The introduced method of certificates makes it mandatory to set an expiration date---making it less feasible to 124 hardcode certificates in embedded devices. 135 You can also use MHD to authenticate the client via SSL/TLS certificates 150 With this, you can then obtain client certificates for each session. 345 is only used in X.509 certificates. Contains a list with the CA names that the server considers trusted. Normally we should send a certificate that is signed by one of these CAs. These names are DER encoded. To get a more meaningful value use the function @code{gnutls_x509_rdn_get()}. 487 methods for initializing certificates and keys in the GnuTLS manual
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
IssuingDistributionPointExtension.java | 44 * certificates only, CA certificates only, attribute certificates only, 122 * includes only user certificates. 124 * includes only CA certificates. 126 * includes only attribute certificates. 128 * includes certificates issued by authorities other than the CRL
|
AuthorityInfoAccessExtension.java | 41 * certificates pre-configured with the URLs appropriate for contacting 42 * services relevant to those certificates. For example, a CA may issue a 49 * the extension to be included in end-entity or CA certificates,
|
/frameworks/base/docs/html-intl/intl/vi/training/articles/ |
security-config.jd | 128 <certificates src="@raw/my_ca"/> 163 <certificates src="@raw/trusted_roots"/> 174 ph?n t? <a href="#certificates"><code><certificates></code></a> 197 <certificates src="@raw/extracas"/> 198 <certificates src="system"/> 232 <certificates src="@raw/debug_cas"/> 351 <certificates src="@raw/my_ca"/> 374 <certificates src="..."/> 383 <certificates src="..."/> [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | 447 * Tests if any certificates match in the case of null criteria, 448 * if [not]proper certificates [do not]match 456 assertTrue("Any certificates should match in the case of null " 489 * Tests if any certificates match in the case of null criteria, 490 * if [not]proper certificates [do not]match 533 * Tests if any certificates match in the case of null criteria, 534 * if [not]proper certificates [do not]match 544 assertTrue("Any certificates should match " 577 * Tests if any certificates match in the case of null criteria, 578 * if [not]proper certificates [do not]matc [all...] |
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustManagerImpl.java | 95 * An index of intermediate certificates that we've seen. These certificates are NOT implicitly 346 * the certificates used for making the trust decision. 417 * @param used the set certificates used so far in path building. Must be mutable. 456 // Avoid using certificates that have already been used. 486 // 4. Use the certificates provided by the peer to grow the chain. 490 // Avoid using certificates that have already been used. 495 // Check the strength and validity of the certificate to prune bad certificates 524 // Avoid using certificates that have already been used. [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory1Test.java | 582 * Test for <code>generateCertPath(List certificates)</code> method 583 * Assertion: throw NullPointerException certificates is null 606 * Test for <code>generateCertPath(List certificates)</code> method 607 * Assertion: returns empty CertPath if certificates is empty 626 * Test for <code>generateCertPath(List certificates)</code> method 627 * Assertion: throws CertificateException when certificates contains
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 64 // *.ks1 - keystore containing untrusted certificates only 65 // *.ks2 - keystore containing trusted certificates only 66 // *.ks3 - keystore containing both trusted and untrusted certificates 139 * 1 - <code>KeyStore</code> with untrusted certificates only<br> 140 * 2 - <code>KeyStore</code> with trusted certificates only<br> 141 * 3 - <code>KeyStore</code> with both trusted and untrusted certificates
|
/frameworks/base/core/java/android/util/jar/ |
StrictJarVerifier.java | 82 private final Hashtable<String, Certificate[]> certificates = field in class:StrictJarVerifier 188 * which contains the certificates used to sign the entry and its hash value 219 Certificate[] certChain = certificates.get(signatureFile); 302 * certificates listed in the PKCS7 block. Throws a {@code GeneralSecurityException} 364 certificates.put(signatureFile, signerCertChain); 469 return certificates.size() > 0;
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SSLSession.java | 224 * @return an ordered array of peer certificates, 241 * When multiple certificates are available for use in a 247 * @return an ordered array of certificates, 249 * certificate authorities. If no certificates were sent, 268 * @return an ordered array of peer X.509 certificates, 270 * certificate authorities. (The certificates are in
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Identity2Test.java | 213 * @tests java.security.Identity#certificates() 224 java.security.Certificate[] certs = sub.certificates(); 256 java.security.Certificate[] certs = sub.certificates();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXParameters_ImplTest.java | 66 // only trusted X.509 certificates 88 // both trusted and untrusted X.509 certificates 125 // pass KeyStore that does not contain trusted certificates
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
PKIXExtendedParameters.java | 27 * verifies that all involved certificates must have been valid at the 29 * certificates were valid at the signing time. Both are indirectly choosen 31 * methods sets the Date when <em>all</em> certificates must have been
|
/external/webrtc/webrtc/base/ |
sslidentity.h | 11 // Handling of certificates and keypairs for SSLStreamAdapter's peer mode. 102 // Helper function for duplicating a vector of certificates. 107 // Helper function for deleting a vector of certificates.
|