Code examples for InvalidKeyException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
159:	throw new InvalidKeyException("can't identify EC private key."); 
Full Snippet Info
7
CodeRank
87:	throw new InvalidKeyException("can't recognise key type in DSA based signer"); 
Full Snippet Info
6
CodeRank
72:	throw new InvalidKeyException("can't recognise key type in ECDSA based signer"); 
Full Snippet Info
6
CodeRank
51:	Assert.fail(e.getMessage()); 
-
56:	Assert.fail(e.getMessage()); 
Full Snippet Info
6
CodeRank
293:	throw new InvalidKeyException("Cannot wrap key, null encoding."); 
Full Snippet Info
6
CodeRank
185:	throw new InvalidKeyException(e); 
Full Snippet Info
6
CodeRank
129:	throw new PGPException("key invalid: " + e.getMessage(), e); 
Full Snippet Info
6
CodeRank
159:	throw new InvalidKeyException("can't identify EC private key."); 
Full Snippet Info
6
CodeRank
122:	throw new OperatorException("key invalid: " + e.getMessage(), e); 
Full Snippet Info
6
CodeRank
123:	throw new InvalidKeyException(e); 
Full Snippet Info
6
CodeRank
73:	InvalidKeyException tE = new InvalidKeyException(msg); 
74:	assertNull("getMessage() must return null.", tE.getMessage()); 
75:	assertNull("getCause() must return null", tE.getCause()); 
Full Snippet Info
6
CodeRank
162:	e.printStackTrace(); 
Full Snippet Info
6
CodeRank
118:	throw new PGPException("invalid key: " + e.getMessage(), e); 
Full Snippet Info
6
CodeRank
769:	throw new InvalidKeyException("Public key presented not for certificate signature"); 
Full Snippet Info
6
CodeRank
51:	Assert.fail(e.getMessage()); 
-
56:	Assert.fail(e.getMessage()); 
Full Snippet Info
6
CodeRank
143:	throw new InvalidKeyException(kaAlgorithm + " key agreement requires " 
Full Snippet Info
6
CodeRank
70:	throw new ContextBrokerException(e.getMessage(), e); 
Full Snippet Info
5
CodeRank
30:	throw new InvalidKeyException("can't identify McEliece public key: " + key.getClass().getName()); 
Full Snippet Info
5
CodeRank
30:	throw new InvalidKeyException("can't identify McElieceCCA2 public key: " + key.getClass().getName()); 
Full Snippet Info
5
CodeRank
31:	throw new InvalidKeyException("can't identify Rainbow public key: " + key.getClass().getName()); 
Full Snippet Info
5
CodeRank