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

package com.google.crypto.tink.streamingaead;

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

@Deprecated
public final class StreamingAeadFactory
{
    public static StreamingAead getPrimitive(final KeysetHandle keysetHandle) throws GeneralSecurityException {
        StreamingAeadWrapper.register();
        return keysetHandle.getPrimitive(RegistryConfiguration.get(), StreamingAead.class);
    }
    
    private StreamingAeadFactory() {
    }
}
