Lines Matching refs:Exception

119         } catch (Exception e) {  in loadProviderIfNecessary()
132 static byte[] pemToDer(String pem) throws Exception { in pemToDer()
165 static PrivateKey loadDERPrivateKey(byte[] der) throws Exception { in loadDERPrivateKey()
179 static PrivateKey loadPEMPrivateKey(byte[] pem) throws Exception { in loadPEMPrivateKey()
184 static PrivateKey loadPEMPrivateKeyFromFile(String keyFname) throws Exception { in loadPEMPrivateKeyFromFile()
188 static PrivateKey loadDERPrivateKeyFromFile(String keyFname) throws Exception { in loadDERPrivateKeyFromFile()
192 static PublicKey loadDERPublicKey(byte[] der) throws Exception { in loadDERPublicKey()
198 static PublicKey loadPEMPublicKey(byte[] pem) throws Exception { in loadPEMPublicKey()
205 static PublicKey loadPEMPublicKeyFromFile(String keyFname) throws Exception { in loadPEMPublicKeyFromFile()
209 static PublicKey loadDERPublicKeyFromFile(String keyFname) throws Exception { in loadDERPublicKeyFromFile()
213 static X509Certificate loadPEMCertificate(String fname) throws Exception { in loadPEMCertificate()
220 private static String getSignatureAlgorithm(Key key) throws Exception { in getSignatureAlgorithm()
249 static AlgorithmIdentifier getSignatureAlgorithmIdentifier(Key key) throws Exception { in getSignatureAlgorithmIdentifier()
260 AlgorithmIdentifier algId) throws Exception { in verify()
274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign()
281 static byte[] read(String fname) throws Exception { in read()
294 static void write(byte[] data, String fname) throws Exception{ in write()