Lines Matching refs:cert
26 import java.security.cert.Certificate;
30 import org.apache.harmony.security.tests.support.cert.MyCertificate;
48 Certificate cert = null;
50 new KeyStore.TrustedCertificateEntry(cert);
55 cert = new MyCertificate("TEST", new byte[10]);
57 KeyStore.TrustedCertificateEntry ksTCE = new KeyStore.TrustedCertificateEntry(cert);
71 Certificate cert = new MyCertificate("TEST", new byte[10]);
73 new KeyStore.TrustedCertificateEntry(cert, null /* attributes */);
84 Certificate cert = new MyCertificate("TEST", new byte[10]);
86 new KeyStore.TrustedCertificateEntry(cert);
87 assertEquals("Incorrect certificate", cert, ksTCE.getTrustedCertificate());
95 Certificate cert = new MyCertificate("TEST", new byte[10]);
112 new KeyStore.TrustedCertificateEntry(cert, attributeSet);
130 Certificate cert = new MyCertificate("TEST", new byte[10]);
132 new KeyStore.TrustedCertificateEntry(cert);