Package io.jenkins.plugins.venafivcert
Class NormalVCertClient
- java.lang.Object
-
- io.jenkins.plugins.venafivcert.NormalVCertClient
-
- All Implemented Interfaces:
VCertClient
public class NormalVCertClient extends Object implements VCertClient
-
-
Constructor Summary
Constructors Constructor Description NormalVCertClient(com.venafi.vcert.sdk.Config config, com.venafi.vcert.sdk.endpoint.Authentication auth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.venafi.vcert.sdk.certificate.CertificateRequest
generateRequest(com.venafi.vcert.sdk.connectors.ZoneConfiguration config, com.venafi.vcert.sdk.certificate.CertificateRequest request)
com.venafi.vcert.sdk.connectors.ZoneConfiguration
readZoneConfiguration(String zone)
String
requestCertificate(com.venafi.vcert.sdk.certificate.CertificateRequest request, com.venafi.vcert.sdk.connectors.ZoneConfiguration zoneConfiguration)
com.venafi.vcert.sdk.certificate.PEMCollection
retrieveCertificate(com.venafi.vcert.sdk.certificate.CertificateRequest request)
-
-
-
Constructor Detail
-
NormalVCertClient
public NormalVCertClient(com.venafi.vcert.sdk.Config config, com.venafi.vcert.sdk.endpoint.Authentication auth) throws AbortException
- Throws:
AbortException
-
-
Method Detail
-
readZoneConfiguration
public com.venafi.vcert.sdk.connectors.ZoneConfiguration readZoneConfiguration(String zone) throws com.venafi.vcert.sdk.VCertException
- Specified by:
readZoneConfiguration
in interfaceVCertClient
- Throws:
com.venafi.vcert.sdk.VCertException
-
generateRequest
public com.venafi.vcert.sdk.certificate.CertificateRequest generateRequest(com.venafi.vcert.sdk.connectors.ZoneConfiguration config, com.venafi.vcert.sdk.certificate.CertificateRequest request) throws com.venafi.vcert.sdk.VCertException
- Specified by:
generateRequest
in interfaceVCertClient
- Throws:
com.venafi.vcert.sdk.VCertException
-
requestCertificate
public String requestCertificate(com.venafi.vcert.sdk.certificate.CertificateRequest request, com.venafi.vcert.sdk.connectors.ZoneConfiguration zoneConfiguration) throws com.venafi.vcert.sdk.VCertException, UnsupportedOperationException
- Specified by:
requestCertificate
in interfaceVCertClient
- Throws:
com.venafi.vcert.sdk.VCertException
UnsupportedOperationException
-
retrieveCertificate
public com.venafi.vcert.sdk.certificate.PEMCollection retrieveCertificate(com.venafi.vcert.sdk.certificate.CertificateRequest request) throws com.venafi.vcert.sdk.VCertException
- Specified by:
retrieveCertificate
in interfaceVCertClient
- Throws:
com.venafi.vcert.sdk.VCertException
-
-