class RestfulClientProvisioner implements ClientProvisioner {

    byte[] activateCredential(final IdentityResponseEnvelope response, final String uuid) {
        // grab both the symmetric and asymmetric from the identity response
        byte[] asymmetricContents = response.getAsymmetricContents();
        byte[] symmetricContents = structConverter.convert(response.getSymmetricAttestation());

        // active the identity with the TPM
        return tpm.activateIdentity(asymmetricContents, symmetricContents, uuid);
    }

}