/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore3Test.java | 37 import java.security.cert.Certificate; 49 private Certificate certificate; field in class:KeyStore3Test 55 String certificateData = "-----BEGIN CERTIFICATE-----\n" 69 + "-----END CERTIFICATE-----\n"; 74 certificate = cf.generateCertificate(certArray); 104 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); 119 new Certificate[0]); 125 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate}) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory3Test.java | 35 import java.security.cert.Certificate; 84 * Assertion: returns Certificate 89 Certificate[] certs = new Certificate[3]; 100 * Assertion: returns Collection which consists of 1 Certificate 105 Certificate cert = certFs[0] 109 Collection<? extends Certificate> col = null; 112 Iterator<? extends Certificate> it = col.iterator(); 114 assertEquals("Incorrect Certificate in Collection", cert, it.next()); 120 * Assertion: returns CertPath with 1 Certificate [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CertificatePinner.java | 19 import java.security.cert.Certificate; 33 * against attacks on certificate authorities. It also prevents connections 34 * through man-in-the-middle certificate authorities either known or unknown to 37 * <p>This class currently pins a certificate's Subject Public Key Info as 44 * <h3>Setting up Certificate Pinning</h3> 67 * As expected, this fails with a certificate pinning exception: <pre> {@code 69 * javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure! 70 * Peer certificate chain: 84 * certificate pinner's configuration: <pre> {@code 97 * <h3>Warning: Certificate Pinning is Dangerous!</h3 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
IssuerAndSerialNumber.java | 12 import org.bouncycastle.asn1.x509.Certificate; 73 Certificate certificate) 75 this.name = certificate.getIssuer(); 76 this.serialNumber = certificate.getSerialNumber(); 80 * @deprecated use constructor taking Certificate 83 X509CertificateStructure certificate) 85 this.name = certificate.getIssuer(); 86 this.serialNumber = certificate.getSerialNumber();
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
certificateutil.h | 30 // Reads an X509 certificate from a PEM encoded string. 32 // @return a pointer to a new X509 certificate or NULL if there was an error 33 // loading the certificate 36 // Converts an X509 certificate to a PEM encoded string. 37 // @param x509 the X509 certificate 38 // @return a PEM encoded string of the given certificate 60 // Generates a self-signed X509 certificate. 63 // @param days the number of days before the certificate expires 64 // @return a new self-signed X509 certificate
|
/packages/apps/KeyChain/res/values/ |
strings.xml | 22 <!-- Dialog title when at least one certificate was found --> 23 <string name="title_select_cert">Choose certificate</string> 26 <string name="requesting_application">The app %s has requested a certificate. Choosing a certificate will let the app use this identity with servers now and in the future.</string> 29 <string name="requesting_server">The app has identified the requesting server as %s, but you should only give the app access to the certificate if you trust the app.</string> 31 <!-- Label of button to send the user to the CertInstaller to install a certificate (arguments are constants for .pfx and .p12) --> 34 <!-- Label of button to send the user to the CertInstaller to install a certificate --> 37 <!-- Label of button to send the allow the application certificate request --> 40 <!-- Label of button to send the deny the application certificate request -->
|
/frameworks/base/core/java/android/net/http/ |
SslCertificate.java | 30 import java.security.cert.Certificate; 43 * SSL certificate info (certificate details) class 53 * Name of the entity this certificate is issued to 58 * Name of the entity this certificate is issued by 73 * The original source certificate, if available. 88 private static final String X509_CERTIFICATE = "x509-certificate"; 91 * Saves the certificate state to a bundle 92 * @param certificate The SSL certificate to stor 182 certificate); local [all...] |
/external/boringssl/src/crypto/x509/ |
x509_txt.c | 76 return("unable to get issuer certificate"); 78 return("unable to get certificate CRL"); 80 return("unable to decrypt certificate's signature"); 86 return("certificate signature failure"); 90 return("certificate is not yet valid"); 94 return("certificate has expired"); 98 return("format error in certificate's notBefore field"); 100 return("format error in certificate's notAfter field"); 108 return("self signed certificate"); 110 return("self signed certificate in certificate chain") [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
X509Certificate.java | 37 * Certificate ::= SEQUENCE { 60 * "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at <a 66 extends Certificate implements X509Extension { 78 * Checks whether the certificate is currently valid. 95 * if the certificate has expired. 97 * if the certificate is not yet valid. 103 * Checks whether the certificate is valid at the specified date. 108 * if the certificate has expired. 110 * if the certificate is not yet valid. 130 * Returns the {@code serialNumber} of the certificate [all...] |
package.html | 10 Functionality for parsing certificate, extracting information from them, validating and 13 - if the certificate's encoding is broken 15 - if the certificate's time stamp is not valid
|
/packages/apps/CertInstaller/res/values-en-rAU/ |
strings.xml | 19 <string name="app_name" msgid="9095072584761066851">"Certificate Installer"</string> 20 <string name="pick_file_title" msgid="4481949485108233297">"Choose a certificate"</string> 21 <string name="pkcs12_password_dialog_title" msgid="5997624645207427161">"Extract certificate"</string> 24 <string name="name_credential_dialog_title" msgid="277729846491554437">"Name the certificate"</string> 25 <string name="credential_name" msgid="1974979771369744378">"Certificate name:"</string> 30 <string name="one_usercrt" msgid="7690798336332403106">"one user certificate"</string> 31 <string name="one_cacrt" msgid="2667950425420663146">"one CA certificate"</string> 37 <string name="storage_error" msgid="8306802455802770779">"Couldn\'t save the certificate. Touch OK to retry."</string> 38 <string name="unable_to_save_cert" msgid="9178604087335389686">"Couldn\'t save the certificate. The credential storage isn\'t enabled or properly initialised."</string> 39 <string name="cert_not_saved" msgid="4037698479662830270">"The certificate is not installed."</string [all...] |
/packages/apps/CertInstaller/res/values-en-rGB/ |
strings.xml | 19 <string name="app_name" msgid="9095072584761066851">"Certificate Installer"</string> 20 <string name="pick_file_title" msgid="4481949485108233297">"Choose a certificate"</string> 21 <string name="pkcs12_password_dialog_title" msgid="5997624645207427161">"Extract certificate"</string> 24 <string name="name_credential_dialog_title" msgid="277729846491554437">"Name the certificate"</string> 25 <string name="credential_name" msgid="1974979771369744378">"Certificate name:"</string> 30 <string name="one_usercrt" msgid="7690798336332403106">"one user certificate"</string> 31 <string name="one_cacrt" msgid="2667950425420663146">"one CA certificate"</string> 37 <string name="storage_error" msgid="8306802455802770779">"Couldn\'t save the certificate. Touch OK to retry."</string> 38 <string name="unable_to_save_cert" msgid="9178604087335389686">"Couldn\'t save the certificate. The credential storage isn\'t enabled or properly initialised."</string> 39 <string name="cert_not_saved" msgid="4037698479662830270">"The certificate is not installed."</string [all...] |
/packages/apps/CertInstaller/res/values-en-rIN/ |
strings.xml | 19 <string name="app_name" msgid="9095072584761066851">"Certificate Installer"</string> 20 <string name="pick_file_title" msgid="4481949485108233297">"Choose a certificate"</string> 21 <string name="pkcs12_password_dialog_title" msgid="5997624645207427161">"Extract certificate"</string> 24 <string name="name_credential_dialog_title" msgid="277729846491554437">"Name the certificate"</string> 25 <string name="credential_name" msgid="1974979771369744378">"Certificate name:"</string> 30 <string name="one_usercrt" msgid="7690798336332403106">"one user certificate"</string> 31 <string name="one_cacrt" msgid="2667950425420663146">"one CA certificate"</string> 37 <string name="storage_error" msgid="8306802455802770779">"Couldn\'t save the certificate. Touch OK to retry."</string> 38 <string name="unable_to_save_cert" msgid="9178604087335389686">"Couldn\'t save the certificate. The credential storage isn\'t enabled or properly initialised."</string> 39 <string name="cert_not_saved" msgid="4037698479662830270">"The certificate is not installed."</string [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 26 * A Key Manager for X509 certificate-based key pairs. 32 * it with the specified public key type and certificate issuers. 37 * the list of certificate issuers, or {@code null} if any issuer 50 * it with the specified public key type and certificate issuers. 55 * the list of certificate issuers, or {@code null} if any issuer 67 * Returns the certificate chain for the specified alias. 70 * the alias to get the certificate chain for. 71 * @return the certificate chain for the specified alias, or {@code null} if 78 * certificate issuers. 83 * the list of certificate issuers, or {@code null} if any issue [all...] |
/external/boringssl/src/ssl/test/runner/ |
alert.go | 50 alertBadCertificate: "bad certificate", 51 alertUnsupportedCertificate: "unsupported certificate", 52 alertCertificateRevoked: "revoked certificate", 53 alertCertificateExpired: "expired certificate", 54 alertCertificateUnknown: "unknown certificate", 56 alertUnknownCA: "unknown certificate authority",
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509AttributeCertificateHolder.java | 57 * @param certEncoding BER/DER encoding of the certificate. 78 * Return the ASN.1 encoding of this holder's attribute certificate. 95 * Return the serial number of this attribute certificate. 105 * Return the holder details for this attribute certificate. 107 * @return this attribute certificate's holder structure. 115 * Return the issuer details for this attribute certificate. 117 * @return this attribute certificate's issuer structure, 125 * Return the date before which this attribute certificate is not valid. 127 * @return the start date for the attribute certificate's validity period. 135 * Return the date after which this attribute certificate is not valid [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
pairingcontext.h | 30 // @param local_certificate the local SSL certificate 31 // @param peer_certificate the peer SSL certificate 37 // Sets the local certificate. No ownership is taken of the given pointer. 40 // Sets the peer certificate. No ownership is taken of the given pointer. 43 // Gets the client certificate. 46 // Gets the server certificate.
|
/packages/apps/KeyChain/res/values-tl/ |
strings.xml | 20 <string name="title_no_certs" msgid="8350009443064722873">"Walang nahanap na mga certificate"</string> 21 <string name="title_select_cert" msgid="3588447616418041699">"Pumili ng certificate"</string> 22 <string name="requesting_application" msgid="1589142627467598421">"Humiling ng certificate ang app na %s. Bibigyang-daan ng pagpili ng certificate ang app na magamit ang pagkakakilanlang ito sa mga server ngayon at sa hinaharap."</string> 23 <string name="requesting_server" msgid="5832565605998634370">"Natukoy ng app ang humihiling na server bilang %s, ngunit dapat mo lang bigyan ng access sa certificate ang app kung pinagkakatiwalaan mo ang app."</string> 24 <string name="install_new_cert_message" msgid="4451971501142085495">"Maaari kang mag-install ng mga certificate mula sa isang PKCS#12 file na may %1$s o %2$s na extension na matatagpuan sa panlabas na storage."</string>
|
/bootable/recovery/testdata/ |
testkey.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|
testkey_sha256.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|
/build/target/product/security/ |
platform.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|
shared.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|
testkey.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|
verity.x509.pem | 1 -----BEGIN CERTIFICATE----- 24 -----END CERTIFICATE-----
|
/cts/hostsidetests/appsecurity/certs/ |
cts-testkey1.x509.pem | 1 -----BEGIN CERTIFICATE----- 27 -----END CERTIFICATE-----
|