All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.venafi.vcert.sdk.connectors.tpp.TppAPI Maven / Gradle / Ivy

Go to download

VCert is a Java library, SDK, designed to simplify key generation and enrollment of machine identities (also known as SSL/TLS certificates and keys) that comply with enterprise security policy by using the Venafi Platform or Venafi Cloud.

There is a newer version: 0.9.3
Show newest version
package com.venafi.vcert.sdk.connectors.tpp;

import com.venafi.vcert.sdk.VCertException;
import com.venafi.vcert.sdk.connectors.tpp.endpoint.*;
import feign.Response;

public abstract class TppAPI {

    protected Tpp tpp;

    public TppAPI(Tpp tpp) {
        this.tpp = tpp;
    }

    abstract String getAuthKey() throws VCertException;
    abstract DNIsValidResponse dnIsValid(DNIsValidRequest request) throws VCertException;//, String authKey);
    abstract CreateDNResponse createDN(CreateDNRequest request) throws VCertException;//, String authKey);
    abstract SetPolicyAttributeResponse setPolicyAttribute(SetPolicyAttributeRequest request) throws VCertException;//, String authKey);
    abstract GetPolicyAttributeResponse getPolicyAttribute(GetPolicyAttributeRequest request) throws VCertException;//, String authKey);
    abstract GetPolicyResponse getPolicy(GetPolicyRequest request) throws VCertException;//, String authKey);
    abstract Response clearPolicyAttribute(ClearPolicyAttributeRequest request) throws VCertException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy