Package com.venafi.vcert.sdk.connectors
Interface IPMConnector
-
- All Known Subinterfaces:
Connector,TokenConnector
- All Known Implementing Classes:
CloudConnector,TppConnector,TppTokenConnector,VCertClient,VCertTknClient
public interface IPMConnector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicySpecificationgetPolicy(String policyName)Returns the policySpecification from the policy which matches with the policyName argument.PolicyreadPolicyConfiguration(String zone)Reads the policy configuration for a specific zone in VenafivoidsetPolicy(String policyName, PolicySpecification policySpecification)Create/update a policy based on the policySpecification passed as argument.
-
-
-
Method Detail
-
readPolicyConfiguration
Policy readPolicyConfiguration(String zone) throws VCertException
Reads the policy configuration for a specific zone in Venafi- Parameters:
zone-- Returns:
- Throws:
VCertException
-
setPolicy
void setPolicy(String policyName, PolicySpecification policySpecification) throws VCertException
Create/update a policy based on the policySpecification passed as argument.- Parameters:
policyName-policySpecification-- Throws:
VCertException
-
getPolicy
PolicySpecification getPolicy(String policyName) throws VCertException
Returns the policySpecification from the policy which matches with the policyName argument.- Parameters:
policyName-- Returns:
- Throws:
VCertException
-
-