/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateExceptionTest.java | 27 import java.security.cert.CertificateException; 48 CertificateException tE = new CertificateException(); in testCertificateException01() 59 CertificateException tE; in testCertificateException02() 61 tE = new CertificateException(msgs[i]); in testCertificateException02() 75 CertificateException tE = new CertificateException(msg); in testCertificateException03() 87 CertificateException tE = new CertificateException(cause); in testCertificateException04() 98 CertificateException tE = new CertificateException(tCause); in testCertificateException05() 116 CertificateException tE = new CertificateException(null, null); in testCertificateException06() 127 CertificateException tE; in testCertificateException07() 129 tE = new CertificateException(msgs[i], null); in testCertificateException07() [all …]
|
D | CertificateFactorySpiTest.java | 36 import java.security.cert.CertificateException; 53 public void testCertificateFactorySpi01() throws CertificateException, in testCertificateFactorySpi01() 83 } catch (CertificateException e) { in testCertificateFactorySpi01() 90 } catch (CertificateException e) { in testCertificateFactorySpi01() 114 public void testCertificateFactorySpi02() throws CertificateException, in testCertificateFactorySpi02() 123 } catch (CertificateException e) { in testCertificateFactorySpi02() 129 } catch (CertificateException e) { in testCertificateFactorySpi02() 141 } catch (CertificateException e) { in testCertificateFactorySpi02() 146 } catch (CertificateException e) { in testCertificateFactorySpi02() 184 public void testCertificateFactorySpi03() throws CertificateException, in testCertificateFactorySpi03() [all …]
|
D | CertificateFactory2Test.java | 39 import java.security.cert.CertificateException; 85 throws CertificateException, CRLException { in checkResult() 93 } catch (CertificateException e) { in checkResult() 100 } catch (CertificateException e) { in checkResult() 108 } catch (CertificateException e) { in checkResult() 125 } catch (CertificateException e) { in checkResult() 130 } catch (CertificateException e) { in checkResult() 181 public void GetInstance01(boolean mode) throws CertificateException, CRLException { in GetInstance01() 185 } catch (CertificateException e) { in GetInstance01() 193 } catch (CertificateException e) { in GetInstance01() [all …]
|
D | CertificateException2Test.java | 20 import java.security.cert.CertificateException; 31 throw new CertificateException(); in test_Constructor() 34 } catch (CertificateException e) { in test_Constructor() 50 throw new CertificateException("Some error message"); in test_ConstructorLjava_lang_String() 53 } catch (CertificateException e) { in test_ConstructorLjava_lang_String()
|
D | CertificateFactory1Test.java | 42 import java.security.cert.CertificateException; 107 public void testCertificateFactory01() throws CertificateException { in testCertificateFactory01() 129 } catch (CertificateException e) { in testCertificateFactory02() 137 } catch (CertificateException e) { in testCertificateFactory02() 146 public void testCertificateFactory03() throws CertificateException, in testCertificateFactory03() 181 } catch (CertificateException e) { in testCertificateFactory04() 191 } catch (CertificateException e) { in testCertificateFactory04() 201 public void testCertificateFactory05() throws CertificateException, in testCertificateFactory05() 222 public void testCertificateFactory06() throws CertificateException { in testCertificateFactory06() 252 } catch (CertificateException e) { in testCertificateFactory07() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 31 import java.security.cert.CertificateException; 67 throws CertificateException { in engineGenerateCertificate() 69 throw new CertificateException("Incorrect inputstream"); in engineGenerateCertificate() 76 throws CertificateException { in engineGenerateCertificates() 78 throw new CertificateException("Incorrect inputstream"); in engineGenerateCertificates() 100 throws CertificateException { in engineGenerateCertPath() 102 throw new CertificateException("Incorrect inputstream"); in engineGenerateCertPath() 106 throw new CertificateException("There are no CertPath encodings"); in engineGenerateCertPath() 112 throws CertificateException { in engineGenerateCertPath() 114 throw new CertificateException("Incorrect inputstream"); in engineGenerateCertPath()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | CertificateExceptionTest.java | 27 import javax.security.cert.CertificateException; 48 CertificateException tE = new CertificateException(); in testCertificateException01() 59 CertificateException tE; in testCertificateException02() 61 tE = new CertificateException(msgs[i]); in testCertificateException02() 75 CertificateException tE = new CertificateException(msg); in testCertificateException03()
|
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/ |
D | X509V1CertImpl.java | 56 throws java.security.cert.CertificateException in getFactory() 79 throws CertificateException { in X509V1CertImpl() 86 } catch (java.security.cert.CertificateException e) { in X509V1CertImpl() 87 throw new CertificateException(e.getMessage()); in X509V1CertImpl() 98 throws CertificateException { in X509V1CertImpl() 102 } catch (java.security.cert.CertificateException e) { in X509V1CertImpl() 103 throw new CertificateException(e.getMessage()); in X509V1CertImpl() 130 throws CertificateException, NoSuchAlgorithmException, in verify() 136 } catch (java.security.cert.CertificateException e) { in verify() 137 throw new CertificateException(e.getMessage()); in verify() [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateFactory.java | 204 throws CertificateException { in getInstance() 211 throw new CertificateException(type + " not found", e); in getInstance() 250 String provider) throws CertificateException, in getInstance() 260 throw new CertificateException(type + " not found", e); in getInstance() 294 Provider provider) throws CertificateException { in getInstance() 303 throw new CertificateException(type + " not found", e); in getInstance() 364 throws CertificateException in generateCertificate() 403 throws CertificateException in generateCertPath() 426 String encoding) throws CertificateException in generateCertPath() 447 throws CertificateException in generateCertPath() [all …]
|
D | CertificateException.java | 36 public class CertificateException extends GeneralSecurityException { class 44 public CertificateException() { in CertificateException() method in CertificateException 55 public CertificateException(String msg) { in CertificateException() method in CertificateException 70 public CertificateException(String message, Throwable cause) { in CertificateException() method in CertificateException 85 public CertificateException(Throwable cause) { in CertificateException() method in CertificateException
|
D | CertificateFactorySpi.java | 105 throws CertificateException; in engineGenerateCertificate() 125 throws CertificateException in engineGenerateCertPath() 150 String encoding) throws CertificateException in engineGenerateCertPath() 177 throws CertificateException in engineGenerateCertPath() 246 throws CertificateException; in engineGenerateCertificates()
|
D | Certificate.java | 117 } catch (CertificateException e) { in equals() 133 } catch (CertificateException e) { in hashCode() 168 throws CertificateException, NoSuchAlgorithmException, in verify() 189 throws CertificateException, NoSuchAlgorithmException, in verify() 217 throws CertificateException, NoSuchAlgorithmException, in verify() 277 } catch (CertificateException e) { in readResolve() 299 } catch (CertificateException e) { in writeReplace()
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
D | X509Certificate.java | 180 throws CertificateException { in getInstance() 205 throws CertificateException { in getInstance() 210 throws CertificateException { in getInst() 231 throw new CertificateException("Unsupported argument type"); in getInst() 242 throw new CertificateException("Could not find class: " + e); in getInst() 244 throw new CertificateException("Could not access class: " + e); in getInst() 246 throw new CertificateException("Problems instantiating: " + e); in getInst() 248 throw new CertificateException("InvocationTargetException: " in getInst() 251 throw new CertificateException("Could not find class method: " in getInst()
|
D | CertificateException.java | 42 public class CertificateException extends Exception { class 49 public CertificateException() { in CertificateException() method in CertificateException 60 public CertificateException(String msg) { in CertificateException() method in CertificateException
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestTrustManager.java | 25 import java.security.cert.CertificateException; 73 throws CertificateException { in checkClientTrusted() 81 } catch (CertificateException e) { in checkClientTrusted() 89 throws CertificateException { in checkClientTrusted() 103 } catch (CertificateException e) { in checkClientTrusted() 111 throws CertificateException { in checkClientTrusted() 125 } catch (CertificateException e) { in checkClientTrusted() 138 throws CertificateException { in checkServerTrusted() 146 } catch (CertificateException e) { in checkServerTrusted() 154 throws CertificateException { in checkServerTrusted() [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | X509CertInfo.java | 47 throws java.security.cert.CertificateException, java.io.IOException { in encode() 81 throws java.security.cert.CertificateException, java.io.IOException { in set() 86 throws java.security.cert.CertificateException, java.io.IOException { in delete() 92 throws java.security.cert.CertificateException, java.io.IOException { in get() 113 throws java.security.cert.CertificateException, java.io.IOException { in emit() 121 private void setVersion(java.lang.Object val) throws java.security.cert.CertificateException { in setVersion() 126 throws java.security.cert.CertificateException { in setSerialNumber() 131 throws java.security.cert.CertificateException { in setAlgorithmId() 135 private void setIssuer(java.lang.Object val) throws java.security.cert.CertificateException { in setIssuer() 139 private void setValidity(java.lang.Object val) throws java.security.cert.CertificateException { in setValidity() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertAttrSet.java | 30 import java.security.cert.CertificateException; 67 throws CertificateException, IOException; in encode() 79 throws CertificateException, IOException; in set() 90 throws CertificateException, IOException; in get() 101 throws CertificateException, IOException; in delete()
|
D | X509CertInfo.java | 181 throws CertificateException, IOException { in encode() 232 } catch (CertificateException e) { in getEncodedInfo() 365 throws CertificateException, IOException { in set() 370 throw new CertificateException("Attribute name not recognized: " in set() 454 throws CertificateException, IOException { in delete() 459 throw new CertificateException("Attribute name not recognized: " in delete() 534 throws CertificateException, IOException { in get() 755 throws CertificateException, IOException { in emit() 818 private void setVersion(Object val) throws CertificateException { in setVersion() 820 throw new CertificateException("Version class type invalid."); in setVersion() [all …]
|
D | PrivateKeyUsageExtension.java | 30 import java.security.cert.CertificateException; 136 throws CertificateException, IOException { in PrivateKeyUsageExtension() 248 throws CertificateException, IOException { in set() 250 throw new CertificateException("Attribute must be of type Date."); in set() 257 throw new CertificateException("Attribute name not recognized by" in set() 267 public Date get(String name) throws CertificateException { in get() 273 throw new CertificateException("Attribute name not recognized by" in get() 282 public void delete(String name) throws CertificateException, IOException { in delete() 288 throw new CertificateException("Attribute name not recognized by" in delete()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | X509CertificatePair.java | 31 import java.security.cert.CertificateException; 101 throws CertificateException { in X509CertificatePair() 103 throw new CertificateException("at least one of certificate pair " in X509CertificatePair() 118 private X509CertificatePair(byte[] encoded) throws CertificateException { in X509CertificatePair() 123 throw new CertificateException(ex.toString()); in X509CertificatePair() 140 (byte[] encoded) throws CertificateException { in generateCertificatePair() 155 public void setForward(X509Certificate cert) throws CertificateException { in setForward() 163 public void setReverse(X509Certificate cert) throws CertificateException { in setReverse() 224 throws IOException, CertificateException in parse() 263 throw new CertificateException("at least one of certificate pair " in parse() [all …]
|
D | X509CertPath.java | 34 import java.security.cert.CertificateException; 104 public X509CertPath(List<? extends Certificate> certs) throws CertificateException { in X509CertPath() 116 throw new CertificateException in X509CertPath() 138 public X509CertPath(InputStream is) throws CertificateException { in X509CertPath() 153 throws CertificateException { in X509CertPath() 164 throw new CertificateException("unsupported encoding"); in X509CertPath() 177 throws CertificateException { in parsePKIPATH() 182 throw new CertificateException("input stream is null"); in parsePKIPATH() 204 throw new CertificateException("IOException parsing PkiPath data: " in parsePKIPATH() 218 throws CertificateException { in parsePKCS7() [all …]
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | X509ExtendedTrustManager.java | 32 import java.security.cert.CertificateException; 97 String authType, Socket socket) throws CertificateException; in checkClientTrusted() 145 String authType, Socket socket) throws CertificateException; in checkServerTrusted() 186 String authType, SSLEngine engine) throws CertificateException; in checkClientTrusted() 232 String authType, SSLEngine engine) throws CertificateException; in checkServerTrusted()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/ |
D | X509CertificatePair.java | 38 throws java.security.cert.CertificateException { in X509CertificatePair() 42 private X509CertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in X509CertificatePair() 52 generateCertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in generateCertificatePair() 57 throws java.security.cert.CertificateException { in setForward() 62 throws java.security.cert.CertificateException { in setReverse() 83 throws java.security.cert.CertificateException, java.io.IOException { in parse() 92 private void checkPair() throws java.security.cert.CertificateException { in checkPair()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509TrustManagerImpl.java | 5 import java.security.cert.CertificateException; 10 throws CertificateException { in checkClientTrusted() 19 throw new CertificateException(); in checkClientTrusted() 25 throws CertificateException { in checkServerTrusted() 34 throw new CertificateException(); in checkServerTrusted()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore4Test.java | 26 import java.security.cert.CertificateException; 291 } catch (CertificateException e) { in testStoreOutputStreamCharArray() 304 } catch (CertificateException e) { in testStoreOutputStreamCharArray() 317 } catch (CertificateException e) { in testStoreOutputStreamCharArray() 330 } catch (CertificateException e) { in testStoreOutputStreamCharArray() 343 } catch (CertificateException e) { in testStoreOutputStreamCharArray() 363 } catch (CertificateException e) { in testStoreLoadStoreParameter() 378 } catch (CertificateException e) { in testStoreLoadStoreParameter() 395 } catch (CertificateException e) { in testStoreLoadStoreParameter() 413 } catch (CertificateException e) { in testStoreLoadStoreParameter() [all …]
|