Home
last modified time | relevance | path

Searched refs:ExemptionMechanismException (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyExemptionMechanismSpi.java31 import javax.crypto.ExemptionMechanismException;
50 throws ExemptionMechanismException { in engineGenExemptionBlob()
56 throws ShortBufferException, ExemptionMechanismException { in engineGenExemptionBlob()
67 ExemptionMechanismException { in engineInit()
72 throw new ExemptionMechanismException("Incorrect key"); in engineInit()
79 ExemptionMechanismException { in engineInit()
84 throw new ExemptionMechanismException("Incorrect key"); in engineInit()
94 ExemptionMechanismException { in engineInit()
99 throw new ExemptionMechanismException("Incorrect key"); in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DExemptionMechanismExceptionTest.java25 import javax.crypto.ExemptionMechanismException;
53 ExemptionMechanismException tE = new ExemptionMechanismException(); in testExemptionMechanismException01()
69 ExemptionMechanismException tE; in testExemptionMechanismException02()
71 tE = new ExemptionMechanismException(msgs[i]); in testExemptionMechanismException02()
90 ExemptionMechanismException tE = new ExemptionMechanismException(msg); in testExemptionMechanismException03()
DExemptionMechanismTest.java33 import javax.crypto.ExemptionMechanismException;
174 throws ExemptionMechanismException { in engineGenExemptionBlob()
175 throw new ExemptionMechanismException(); in engineGenExemptionBlob()
180 throws ShortBufferException, ExemptionMechanismException { in engineGenExemptionBlob()
186 throw new ExemptionMechanismException(); in engineGenExemptionBlob()
193 ExemptionMechanismException { in test_genExemptionBlob()
225 } catch (ExemptionMechanismException e) { in test_genExemptionBlob()
231 ExemptionMechanismException, ShortBufferException { in test_genExemptionBlob$B()
265 } catch (ExemptionMechanismException e) { in test_genExemptionBlob$B()
271 ExemptionMechanismException, ShortBufferException { in test_genExemptionBlob$BI()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DExemptionMechanismSpi.java82 throws InvalidKeyException, ExemptionMechanismException; in engineInit()
107 ExemptionMechanismException; in engineInit()
132 ExemptionMechanismException; in engineInit()
143 throws ExemptionMechanismException; in engineGenExemptionBlob()
169 throws ShortBufferException, ExemptionMechanismException; in engineGenExemptionBlob()
DExemptionMechanismException.java36 public class ExemptionMechanismException extends GeneralSecurityException { class
45 public ExemptionMechanismException() { in ExemptionMechanismException() method in ExemptionMechanismException
56 public ExemptionMechanismException(String msg) { in ExemptionMechanismException() method in ExemptionMechanismException
DExemptionMechanism.java258 throws ExemptionMechanismException { in isCryptoAllowed()
315 throws InvalidKeyException, ExemptionMechanismException { in init()
347 ExemptionMechanismException { in init()
379 ExemptionMechanismException { in init()
399 ExemptionMechanismException { in genExemptionBlob()
432 ExemptionMechanismException { in genExemptionBlob()
468 ExemptionMechanismException { in genExemptionBlob()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/serialization/
DExemptionMechanismExceptionTest.java25 import javax.crypto.ExemptionMechanismException;
42 return new Object[] { new ExemptionMechanismException(), in getData()
43 new ExemptionMechanismException(null), new ExemptionMechanismException(msgs[1]) }; in getData()
/libcore/
Dopenjdk_java_files.bp1232 "ojluni/src/main/java/javax/crypto/ExemptionMechanismException.java",