public KeyProvider getKeyProvider() { return EncryptionCodec.getKeyProvider(codecProperties); }
/** * Set the Java security provider to use for all encryption operations. If not specified, the * default provider(s) will be used from your java.security file. */ public void setSecurityProvider(Provider provider) { EncryptionCodec.setPropSecurityProvider(codecProperties, provider); }
/** * Set the size of encryption key to use, either 128 or 256. Note that to use 256-bit AES keys, * you will probably need the unlimited strength jurisdiction files installed in your JRE. */ public void setKeySize(int keySize) { EncryptionCodec.setKeySize(codecProperties, keySize); }
public Provider getSecurityProvider() { return EncryptionCodec.getSecurityProvider(codecProperties); }
public int getKeySize() { return EncryptionCodec.getKeySize(codecProperties); }