public interface SecurityProvider
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.
| Modifier and Type | Method and Description |
|---|---|
Cipher |
getCipher(java.lang.String name) |
MessageDigest |
getDigest(java.lang.String name) |
Mac |
getMac(java.lang.String name) |
MessageDigest getDigest(java.lang.String name) throws SecurityException
SecurityExceptionMac getMac(java.lang.String name) throws SecurityException
SecurityExceptionCipher getCipher(java.lang.String name) throws SecurityException
SecurityException