Class AbstractTppConnector
- java.lang.Object
-
- com.venafi.vcert.sdk.connectors.tpp.AbstractTppConnector
-
- Direct Known Subclasses:
TppConnector,TppTokenConnector
public abstract class AbstractTppConnector extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractTppConnector.AuthorizeRequestclassAbstractTppConnector.CertificateRenewalRequeststatic classAbstractTppConnector.CertificateRequestsPayloadclassAbstractTppConnector.CertificateRetrieveRequestclassAbstractTppConnector.CertificateRevokeRequeststatic classAbstractTppConnector.NameValuePair<K,V>static classAbstractTppConnector.ReadZoneConfigurationRequeststatic classAbstractTppConnector.ReadZoneConfigurationResponseprotected static classAbstractTppConnector.SANItem
-
Field Summary
Fields Modifier and Type Field Description protected static StringFAILED_TO_AUTHENTICATE_MESSAGEprotected static StringHEADER_VALUE_AUTHORIZATIONprotected static StringMISSING_ACCESS_TOKEN_MESSAGEprotected static StringMISSING_CREDENTIALS_MESSAGEprotected static StringMISSING_REFRESH_TOKEN_MESSAGEprotected static Map<String,Integer>revocationReasonsprotected Tpptppprotected static StringTPP_ATTRIBUTE_MANAGEMENT_TYPEprotected static StringTPP_ATTRIBUTE_MANUAL_CSRprotected TppAPItppAPIprotected StringvendorAndProductNameprotected Stringzone
-
Constructor Summary
Constructors Constructor Description AbstractTppConnector(Tpp tpp)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract TppAPIgetTppAPI()TPPPolicygetTPPPolicy(String policyName)protected TppSshCertRequestResponserequestTppSshCertificate(SshCertificateRequest sshCertificateRequest)protected SshCertRetrieveDetailsretrieveTppSshCertificate(SshCertificateRequest sshCertificateRequest)protected SshConfigretrieveTppSshConfig(SshCaTemplateRequest sshCaTemplateRequest)voidsetPolicy(String policyName, TPPPolicy tppPolicy)
-
-
-
Field Detail
-
HEADER_VALUE_AUTHORIZATION
protected static final String HEADER_VALUE_AUTHORIZATION
- See Also:
- Constant Field Values
-
FAILED_TO_AUTHENTICATE_MESSAGE
protected static final String FAILED_TO_AUTHENTICATE_MESSAGE
- See Also:
- Constant Field Values
-
MISSING_CREDENTIALS_MESSAGE
protected static final String MISSING_CREDENTIALS_MESSAGE
- See Also:
- Constant Field Values
-
MISSING_REFRESH_TOKEN_MESSAGE
protected static final String MISSING_REFRESH_TOKEN_MESSAGE
- See Also:
- Constant Field Values
-
MISSING_ACCESS_TOKEN_MESSAGE
protected static final String MISSING_ACCESS_TOKEN_MESSAGE
- See Also:
- Constant Field Values
-
TPP_ATTRIBUTE_MANAGEMENT_TYPE
protected static final String TPP_ATTRIBUTE_MANAGEMENT_TYPE
- See Also:
- Constant Field Values
-
TPP_ATTRIBUTE_MANUAL_CSR
protected static final String TPP_ATTRIBUTE_MANUAL_CSR
- See Also:
- Constant Field Values
-
tpp
protected final Tpp tpp
-
zone
protected String zone
-
vendorAndProductName
protected String vendorAndProductName
-
tppAPI
protected TppAPI tppAPI
-
-
Constructor Detail
-
AbstractTppConnector
public AbstractTppConnector(Tpp tpp)
-
-
Method Detail
-
getTppAPI
protected abstract TppAPI getTppAPI()
-
setPolicy
public void setPolicy(String policyName, TPPPolicy tppPolicy) throws VCertException
- Throws:
VCertException
-
getTPPPolicy
public TPPPolicy getTPPPolicy(String policyName) throws VCertException
- Throws:
VCertException
-
requestTppSshCertificate
protected TppSshCertRequestResponse requestTppSshCertificate(SshCertificateRequest sshCertificateRequest) throws VCertException
- Throws:
VCertException
-
retrieveTppSshCertificate
protected SshCertRetrieveDetails retrieveTppSshCertificate(SshCertificateRequest sshCertificateRequest) throws VCertException
- Throws:
VCertException
-
retrieveTppSshConfig
protected SshConfig retrieveTppSshConfig(SshCaTemplateRequest sshCaTemplateRequest) throws VCertException
- Throws:
VCertException
-
-