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

package com.google.crypto.tink.aead;

import java.security.GeneralSecurityException;
import com.google.crypto.tink.RegistryConfiguration;
import com.google.crypto.tink.Aead;
import com.google.crypto.tink.KeysetHandle;

@Deprecated
public final class AeadFactory
{
    @Deprecated
    public static Aead getPrimitive(final KeysetHandle keysetHandle) throws GeneralSecurityException {
        AeadWrapper.register();
        return keysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class);
    }
    
    private AeadFactory() {
    }
}
