Class KeyDerivationParameters

    • Constructor Detail

      • KeyDerivationParameters

        public KeyDerivationParameters()
    • Method Detail

      • getDerivedKeyParameters

        public abstract Parameters getDerivedKeyParameters()
      • hasIdRequirement

        public boolean hasIdRequirement()
        Whether this key needs a specific ID when it is in a Keyset.

        Tink Keyset derivation always copies the ID of a key to the derived key. Hence,a KeyDerivationKey needs a specific ID if and only if the derived key needs a specific ID, and so this is always equal to getDerivedParameters().hasIdRequirement().

        Specified by:
        hasIdRequirement in class Parameters