Class CipherSpec


  • public final class CipherSpec
    extends Object
    Specifies the algorithm and key id used to encode a secret. In general, we do not remove secrets from the system (so that we can still decrypt old data), but we can add new ones. We need to be able to access cipher data for old ciphers (key, IV, and the algorithm itself).
    • Constructor Detail

      • CipherSpec

        public CipherSpec​(int algorithmId,
                          int cipherDataId)