@Override public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) throws KeyStoreException { getKeyStore().setKeyEntry(alias, key, chain); }
@Override public void engineSetCertificateEntry(String alias, Certificate cert) throws KeyStoreException { getKeyStore().setCertificateEntry(alias, cert); }
@Override public void engineLoad(InputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException { getKeyStore().load(stream, password); }
@Override public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { getKeyStore().setKeyEntry(alias, key, password, chain); }
@Override public Certificate engineGetCertificate(String alias) { try { return getKeyStore().getCertificate(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public Certificate[] engineGetCertificateChain(String alias) { try { return getKeyStore().getCertificateChain(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public Enumeration<String> engineAliases() { try { return getKeyStore().aliases(); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public boolean engineIsCertificateEntry(String alias) { try { return getKeyStore().isCertificateEntry(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public boolean engineIsKeyEntry(String alias) { try { return getKeyStore().isKeyEntry(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public String engineGetCertificateAlias(Certificate cert) { try { return getKeyStore().getCertificateAlias(cert); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public Date engineGetCreationDate(String alias) { try { return getKeyStore().getCreationDate(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public boolean engineContainsAlias(String alias) { try { return getKeyStore().containsAlias(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public int engineSize() { try { return getKeyStore().size(); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public void engineDeleteEntry(String alias) throws KeyStoreException { getKeyStore().deleteEntry(alias); }
@Override public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, UnrecoverableKeyException { try { return getKeyStore().getKey(alias, password); } catch (KeyStoreException e) { exception(e, NoSuchAlgorithmException.class); exception(e, UnrecoverableKeyException.class); throw new IllegalStateException(e); } }
@Override public void engineStore(OutputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException { try { getKeyStore().store(stream, password); } catch (KeyStoreException e) { exception(e, IOException.class); exception(e, NoSuchAlgorithmException.class); exception(e, CertificateException.class); throw new IllegalStateException(e); } }
@Override public Certificate[] engineGetCertificateChain(String alias) { try { return getKeyStore().getCertificateChain(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public Enumeration<String> engineAliases() { try { return getKeyStore().aliases(); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public boolean engineIsKeyEntry(String alias) { try { return getKeyStore().isKeyEntry(alias); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }
@Override public int engineSize() { try { return getKeyStore().size(); } catch (KeyStoreException e) { throw new IllegalStateException(e); } }