HomeSort by relevance Sort by last modified time
    Searched defs:InvalidKeyException (Results 1 - 14 of 14) sorted by null

  /libcore/luni/src/main/java/java/security/
InvalidKeyException.java 21 * {@code InvalidKeyException} indicates exceptional conditions, caused by an
24 public class InvalidKeyException extends KeyException {
29 * Constructs a new instance of {@code InvalidKeyException} with the given
35 public InvalidKeyException(String msg) {
40 * Constructs a new instance of {@code InvalidKeyException}.
42 public InvalidKeyException() {
46 * Constructs a new instance of {@code InvalidKeyException} with the given
54 public InvalidKeyException(String message, Throwable cause) {
59 * Constructs a new instance of {@code InvalidKeyException} with the cause.
64 public InvalidKeyException(Throwable cause)
    [all...]
  /libcore/luni/src/main/java/javax/crypto/spec/
DESedeKeySpec.java 20 import java.security.InvalidKeyException;
41 * @throws InvalidKeyException
46 public DESedeKeySpec(byte[] key) throws InvalidKeyException {
51 throw new InvalidKeyException();
66 * @throws InvalidKeyException
72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException {
77 throw new InvalidKeyException();
104 * @throws InvalidKeyException
108 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException {
110 throw new InvalidKeyException();
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1withDSA_SignatureImpl.java 21 import java.security.InvalidKeyException;
72 * InvalidKeyException if privateKey is not DSAPrivateKey object
75 throws InvalidKeyException {
85 throw new InvalidKeyException();
96 throw new InvalidKeyException("bad p");
99 throw new InvalidKeyException("bad q");
102 throw new InvalidKeyException("x <= 0 || x >= q");
117 * InvalidKeyException if publicKey is not DSAPublicKey object
120 throws InvalidKeyException {
128 throw new InvalidKeyException("publicKey is not an instance of DSAPublicKey")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactoryTest.java 7 import java.security.InvalidKeyException;
385 } catch (InvalidKeyException e) {
398 InvalidKeyException.class,
495 protected Key engineTranslateKey(Key key) throws InvalidKeyException {
501 throw new InvalidKeyException();
SignatureTest.java 33 import java.security.InvalidKeyException;
114 public void testInitVerifyPublicKey() throws InvalidKeyException {
124 } catch (InvalidKeyException e) {
134 public void testInitVerifyCertificate() throws InvalidKeyException {
144 fail("expected InvalidKeyException");
145 } catch (InvalidKeyException e) {
155 public void testInitSignPrivateKey() throws InvalidKeyException {
165 fail("expected InvalidKeyException");
166 } catch (InvalidKeyException e) {
189 public void testInitSignPrivateKeySecureRandom() throws InvalidKeyException {
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 77 milliseconds