List of usage examples for javax.security.auth Destroyable destroy
public default void destroy() throws DestroyFailedException
From source file:org.cryptomator.crypto.engine.impl.CryptorImpl.java
private void destroyQuietly(Destroyable d) { if (d == null) { return;//from ww w. j av a 2s .c om } try { d.destroy(); } catch (DestroyFailedException e) { // ignore } }
From source file:org.cryptomator.crypto.aes256.Aes256Cryptor.java
private void destroyQuietly(Destroyable d) { try {//from w ww .j a v a2 s .c o m d.destroy(); } catch (DestroyFailedException e) { // ignore } }