Package com.hierynomus.security
Interface SecurityProvider
- All Known Implementing Classes:
BCSecurityProvider
,JceSecurityProvider
public interface SecurityProvider
Abstraction layer over different Security Providers.
Using this you can easily choose to either use:
- Standard JCE - BouncyCastle over JCE - BouncyCastle direct
The advantage of using BouncyCastle directly is that you do not need to have the JCE Unlimited Strength Cryptography policy files loaded in your JRE.
-
Method Summary
Modifier and TypeMethodDescriptiongetAEADBlockCipher
(String name) getDerivationFunction
(String name)
-
Method Details
-
getDigest
- Throws:
SecurityException
-
getMac
- Throws:
SecurityException
-
getCipher
- Throws:
SecurityException
-
getAEADBlockCipher
- Throws:
SecurityException
-
getDerivationFunction
- Throws:
SecurityException
-