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

package com.google.crypto.tink.mac;

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

@Deprecated
public final class MacFactory
{
    @Deprecated
    public static Mac getPrimitive(final KeysetHandle keysetHandle) throws GeneralSecurityException {
        MacWrapper.register();
        return keysetHandle.getPrimitive(RegistryConfiguration.get(), Mac.class);
    }
    
    private MacFactory() {
    }
}
