public KeyProvider getKeyProvider() {
   return EncryptionCodec.getKeyProvider(codecProperties);
 }