/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertStoreCollectionSpi.java | 10 import java.security.cert.Certificate; 47 if (obj instanceof Certificate) 59 if ((obj instanceof Certificate) && selector.match((Certificate)obj))
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ClientTransactionExt.java | 3 import java.security.cert.Certificate;
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 35 import java.security.cert.Certificate; 68 List<Certificate> list = null; 78 Certificate cc = certFactorySpi.engineGenerateCertificate(bais); 85 Collection<? extends Certificate> col = certFactorySpi.engineGenerateCertificates(bais); 148 Certificate cert = certFactorySpi 151 Collection<? extends Certificate> col = certFactorySpi 170 List<Certificate> list = null; 218 Certificate cert = certFactorySpi 221 Collection<? extends Certificate> col = certFactorySpi 240 List<Certificate> list = null [all...] |
CertificateCertificateRepTest.java | 10 import java.security.cert.Certificate; 28 * <code>Certificate.CertificateRep(String type, byte[] data)</code> 74 Certificate obj = (Certificate) rep1.readResolve();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificate.java | 31 import java.security.cert.Certificate; 38 * Stub class for <code>java.security.cert.Certificate</code> tests 40 public class MyCertificate extends Certificate implements X509Extension { 89 return "[My test Certificate, type: " + getType() + "]"; 114 public Certificate.CertificateRep getCertificateRep() 120 public class MyCertificateRep extends Certificate.CertificateRep {
|
MyCertificateFactorySpi.java | 30 import java.security.cert.Certificate; 66 public Certificate engineGenerateCertificate(InputStream inStream) 124 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) {
|
/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() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
SecureCacheResponseTest.java | 23 import java.security.cert.Certificate; 49 public List<Certificate> getLocalCertificateChain() { 67 public List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException {
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 21 import java.security.cert.Certificate; 53 Certificate root = new TestKeyStore.Builder() 66 private X509Certificate bouncycastleToJava(Certificate certificate) throws Exception { 67 byte[] encoded = certificate.getEncoded();
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
Certificate.java | 37 * An identity certificate is a guarantee by a principal that 43 * certificates, such as X.509 and PGP, share general certificate 48 * subclassing the Certificate class, even though they contain different 55 * use the standard Java SE certificate classes located in 63 public abstract class Certificate { 66 * Compares this certificate for equality with the specified 68 * {@code instanceof} {@code Certificate}, then 70 * encoded form of this certificate. 72 * @param other the object to test for equality with this certificate. 79 if (!(other instanceof Certificate)) [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
FakeSSLSession.java | 21 import java.security.cert.Certificate; 51 public Certificate[] getLocalCertificates() { 67 public Certificate[] getPeerCertificates() {
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPath.java | 43 * {@code Certificate}s, and one or more supported encodings. Because the 50 * {@code Certificate}s in the certification path. For each 51 * certificate {@code cert} in a certification path {@code certPath}, 55 * The list of {@code Certificate}s is an ordered {@code List} of 56 * zero or more {@code Certificate}s. This {@code List} and all 57 * of the {@code Certificate}s contained in it must be immutable. 79 * certificate and ending with a certificate issued by the trust anchor. That 80 * is, the issuer of one certificate is the subject of the following one. The 81 * certificate representing the {@link TrustAnchor TrustAnchor} should not b [all...] |
Certificate.java | 41 * An identity certificate is a binding of a principal to a public key which 47 * certificates, such as X.509 and PGP, share general certificate 52 * subclassing the Certificate class, even though they contain different 62 public abstract class Certificate implements java.io.Serializable { 66 // the certificate type 73 * Creates a certificate of the specified type. 75 * @param type the standard name of the certificate type. 79 * for information about standard certificate types. 81 protected Certificate(String type) { 86 * Returns the type of this certificate [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 60 * Returns new instance of test certificate each time the method is called. 62 * @return test certificate 64 public static Certificate getCert() { 76 public static Certificate[] getCertChain() { 77 Certificate[] chain = { new TestCertificate(), new TestCertificate(), 96 * The second arguments shows which number will have the first Certificate 97 * in the CertPath. The second certificate will have (startID+1) number 101 * @param startID - specifies the starting ID which the first certificate will have 105 Certificate[] certs = new Certificate[howMany] [all...] |
MyKeyStore.java | 35 import java.security.cert.Certificate; 71 public Certificate[] engineGetCertificateChain(String alias) { 73 return (Certificate[]) Chain.get(alias); 78 public Certificate engineGetCertificate(String alias) { 80 return (Certificate) Cert.get(alias); 93 Certificate[] chain) throws KeyStoreException { 104 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) 125 public void engineSetCertificateEntry(String alias, Certificate cert) 174 public String engineGetCertificateAlias(Certificate cert) {
|
/frameworks/base/core/java/android/util/jar/ |
StrictJarVerifier.java | 29 import java.security.cert.Certificate; 90 private final Hashtable<String, Certificate[]> certificates = 91 new Hashtable<String, Certificate[]>(5); 93 private final Hashtable<String, Certificate[][]> verifiedEntries = 94 new Hashtable<String, Certificate[][]>(); 108 private final Certificate[][] certChains; 110 private final Hashtable<String, Certificate[][]> verifiedEntries; 113 Certificate[][] certChains, Hashtable<String, Certificate[][]> verifedEntries) { 219 ArrayList<Certificate[]> certChains = new ArrayList<Certificate[]>() [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509CertificateHolder.java | 14 import org.bouncycastle.asn1.x509.Certificate; 24 * Holding class for an X.509 Certificate structure. 29 private Certificate x509Certificate; 32 private static Certificate parseBytes(byte[] certEncoding) 37 return Certificate.getInstance(CertUtils.parseNonEmptyASN1(certEncoding)); 52 * @param certEncoding BER/DER encoding of the certificate. 64 * @param x509Certificate an ASN.1 Certificate structure. 66 public X509CertificateHolder(Certificate x509Certificate) 86 * Return whether or not the holder's certificate contains extensions. 113 * Return the extensions block associated with this certificate if there is one [all...] |
/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() {
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 4 import java.security.cert.Certificate; 28 private Certificate[] certs = null; 45 public mySSLSession(Certificate[] xc) throws CertificateEncodingException, CertificateException { 49 for (Certificate cert : xc) { 77 public Certificate[] getLocalCertificates() { 89 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSessionBindingEventTest.java | 21 import java.security.cert.Certificate; 126 public Certificate[] getLocalCertificates() { 155 public Certificate[] getPeerCertificates()
|
HttpsURLConnectionTest.java | 24 import java.security.cert.Certificate; 92 Certificate[] cert = con.getLocalCertificates(); 180 Certificate[] cert = con.getServerCertificates(); 271 public Certificate[] getLocalCertificates() { 276 Certificate cert = cf.generateCertificate(bis); 277 return new Certificate[] { cert }; 286 public Certificate[] getServerCertificates() throws SSLPeerUnverifiedException { 291 Certificate cert = cf.generateCertificate(bis); 292 return new Certificate[] { cert }; 294 throw new SSLPeerUnverifiedException("No server's end-entity certificate"); [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,
|
/libcore/ojluni/src/main/java/java/security/ |
KeyStoreSpi.java | 33 import java.security.cert.Certificate; 79 * Returns the certificate chain associated with the given alias. 80 * The certificate chain must have been associated with the alias 87 * @return the certificate chain (ordered with the user's certificate first 88 * and the root certificate authority last), or null if the given alias 89 * does not exist or does not contain a certificate chain 91 public abstract Certificate[] engineGetCertificateChain(String alias); 94 * Returns the certificate associated with the given alias. 100 * then the trusted certificate contained in that entry is returned [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
HttpsURLConnection.java | 79 * Returns the certificate(s) that were sent to the server during 82 * Note: This method is useful only when using certificate-based 87 * "best" certificate chain available, and transmits that to 89 * which certificate chain was actually sent. 92 * with the client's own certificate first followed by any 93 * certificate authorities. If no certificates were sent, 99 public abstract java.security.cert.Certificate [] getLocalCertificates(); 102 * Returns the server's certificate chain which was established 105 * Note: This method can be used only when using certificate-based 106 * cipher suites; using it with non-certificate-based cipher suites [all...] |