// 
// Decompiled by Procyon v0.6.0
// 

package com.google.crypto.tink.config;

import com.google.crypto.tink.streamingaead.StreamingAeadConfig;
import com.google.crypto.tink.signature.SignatureConfig;
import com.google.crypto.tink.prf.PrfConfig;
import com.google.crypto.tink.hybrid.HybridConfig;
import com.google.crypto.tink.daead.DeterministicAeadConfig;
import java.security.GeneralSecurityException;
import com.google.crypto.tink.proto.RegistryConfig;

public final class TinkConfig
{
    @Deprecated
    public static final RegistryConfig TINK_1_0_0;
    @Deprecated
    public static final RegistryConfig TINK_1_1_0;
    @Deprecated
    public static final RegistryConfig LATEST;
    
    @Deprecated
    public static void init() throws GeneralSecurityException {
        register();
    }
    
    public static void register() throws GeneralSecurityException {
        DeterministicAeadConfig.register();
        HybridConfig.register();
        PrfConfig.register();
        SignatureConfig.register();
        StreamingAeadConfig.register();
    }
    
    private TinkConfig() {
    }
    
    static {
        TINK_1_0_0 = RegistryConfig.getDefaultInstance();
        TINK_1_1_0 = RegistryConfig.getDefaultInstance();
        LATEST = RegistryConfig.getDefaultInstance();
        try {
            init();
        }
        catch (final GeneralSecurityException e) {
            throw new ExceptionInInitializerError(e);
        }
    }
}
