Searched refs:KeyException (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/security/
H A DKeyException.java21 * {@code KeyException} is the common superclass of all key related exceptions.
23 public class KeyException extends GeneralSecurityException { class in inherits:GeneralSecurityException
28 * Constructs a new instance of {@code KeyException} with the given message.
33 public KeyException(String msg) { method in class:KeyException
38 * Constructs a new instance of {@code KeyException}.
40 public KeyException() { method in class:KeyException
44 * Constructs a new instance of {@code KeyException} with the given message
52 public KeyException(String message, Throwable cause) { method in class:KeyException
57 * Constructs a new instance of {@code KeyException} with the cause.
62 public KeyException(Throwabl method in class:KeyException
[all...]
H A DCertificate.java43 * @throws KeyException
50 public void decode(InputStream stream) throws KeyException, IOException;
59 * @throws KeyException
65 public void encode(OutputStream stream) throws KeyException, IOException;
H A DInvalidKeyException.java24 public class InvalidKeyException extends KeyException {
H A DKeyManagementException.java24 public class KeyManagementException extends KeyException {
H A DSigner.java80 * @throws KeyException
83 public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException {
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyExceptionTest.java25 import java.security.KeyException;
30 * Tests for <code>KeyException</code> class constructors and methods.
43 * Test for <code>KeyException()</code> constructor Assertion: constructs
44 * KeyException with no detail message
47 KeyException tE = new KeyException();
53 * Test for <code>KeyException(String)</code> constructor Assertion:
54 * constructs KeyException with detail message msg. Parameter
58 KeyException tE;
60 tE = new KeyException(msg
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DCertificateStub.java29 import java.security.KeyException;
55 public void decode(InputStream stream) throws KeyException,
65 public void encode(OutputStream stream) throws KeyException,

Completed in 397 milliseconds