Search in sources :

Example 1 with GcpKmsClient

use of com.google.crypto.tink.integration.gcpkms.GcpKmsClient in project tink by google.

the class KmsAeadKeyManagerTest method setUp.

@Before
public void setUp() throws Exception {
    KmsClient kmsClient = new GcpKmsClient().withCredentials(TestUtil.SERVICE_ACCOUNT_FILE);
    KmsClients.add(kmsClient);
    Config.register(AeadConfig.TINK_1_0_0);
}
Also used : GcpKmsClient(com.google.crypto.tink.integration.gcpkms.GcpKmsClient) KmsClient(com.google.crypto.tink.KmsClient) GcpKmsClient(com.google.crypto.tink.integration.gcpkms.GcpKmsClient) Before(org.junit.Before)

Aggregations

KmsClient (com.google.crypto.tink.KmsClient)1 GcpKmsClient (com.google.crypto.tink.integration.gcpkms.GcpKmsClient)1 Before (org.junit.Before)1