Class GlobalTinkFlags


  • public final class GlobalTinkFlags
    extends java.lang.Object
    Contains Booleans which change Tink behavior globally.

    Note: within Google Tink uses a different version of this file which uses a Google-only flag mechanism.

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • validateKeysetsOnParsing

        public static final TinkFlag validateKeysetsOnParsing
        If true, Tink validates keysets when parsing a KeysetHandle. This means that keysets which have repeated key ids, keysets without valid primary, and keysets which have invalid 'KeyStatusType' are rejected.
        • Introduced in: Tink 1.18.
        • Earliest change to true: Tink 2.0