Class TppConnectorUtils
- java.lang.Object
-
- com.venafi.vcert.sdk.connectors.tpp.TppConnectorUtils
-
public class TppConnectorUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringSSH_CA_ROOT_PATH
-
Constructor Summary
Constructors Constructor Description TppConnectorUtils()
-
Method Summary
-
-
-
Field Detail
-
SSH_CA_ROOT_PATH
protected static final String SSH_CA_ROOT_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
dnExist
public static boolean dnExist(String dn, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
createPolicy
public static void createPolicy(String dn, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
resetAttributes
public static void resetAttributes(String policyName, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
setPolicyAttributes
public static void setPolicyAttributes(TPPPolicy tppPolicy, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
setPolicyAttribute
public static void setPolicyAttribute(String dn, String attributeName, Object[] values, boolean locked, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
clearPolicyAttribute
public static void clearPolicyAttribute(String dn, String attributeName, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
populatePolicy
public static TPPPolicy populatePolicy(TPPPolicy tppPolicy, TppAPI tppAPI) throws VCertException
- Throws:
VCertException
-
setProhibitedSANTypes
public static void setProhibitedSANTypes(TPPPolicy tppPolicy, PolicyResponse policyResponse)
-
convertToTppSshCertReq
public static TppSshCertRequest convertToTppSshCertReq(SshCertificateRequest sshCertificateRequest) throws VCertException
- Throws:
VCertException
-
convertToTppSshCertRetReq
public static TppSshCertRetrieveRequest convertToTppSshCertRetReq(SshCertificateRequest sshCertificateRequest) throws VCertException
- Throws:
VCertException
-
convertToSshCertRetrieveDetails
public static SshCertRetrieveDetails convertToSshCertRetrieveDetails(TppSshCertRetrieveResponse tppSshCertRetrieveResponse) throws VCertException
- Throws:
VCertException
-
-