Class HybridDecryptConfig


  • @Deprecated
    public final class HybridDecryptConfig
    extends java.lang.Object
    Deprecated.
    Static methods for registering with the Registry all instances of HybridDecrypt key types supported in a particular release of Tink.

    To register all HybridDecrypt key types provided in Tink release 1.0.0 one can do:

    
     Config.register(HybridDecryptConfig.TINK_1_0_0);
     

    For more information on how to obtain and use instances of HybridDecrypt, see HybridDecryptFactory.

    • Method Detail

      • registerStandardKeyTypes

        @Deprecated
        public static void registerStandardKeyTypes()
                                             throws java.security.GeneralSecurityException
        Registers standard with the Registry all HybridDecrypt key types released with the latest version of Tink.

        Deprecated-yet-still-supported key types are registered in so-called "no new key"-mode, which allows for usage of existing keys forbids generation of new key material.

        Throws:
        java.security.GeneralSecurityException