Package com.venafi.vcert.sdk.connectors
Interface ISSHConnector
-
- All Known Subinterfaces:
Connector,TokenConnector
- All Known Implementing Classes:
CloudConnector,TppConnector,TppTokenConnector,VCertClient,VCertTknClient
public interface ISSHConnector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringrequestSshCertificate(SshCertificateRequest sshCertificateRequest)Request a new SSH Certificate.SshCertRetrieveDetailsretrieveSshCertificate(SshCertificateRequest sshCertificateRequest)Retrieve a requested SSH CertificateSshConfigretrieveSshConfig(SshCaTemplateRequest sshCaTemplateRequest)Retrieve theSshConfigof the CA specified in theSshCaTemplateRequest.
-
-
-
Method Detail
-
requestSshCertificate
String requestSshCertificate(SshCertificateRequest sshCertificateRequest) throws VCertException
Request a new SSH Certificate.- Parameters:
sshCertificateRequest- TheSshCertificateRequestinstance needed to do the request. For more information about of which properties should be filled, please review the documentation ofSshCertificateRequest.- Returns:
- The DN of the created SSH certificate object. It can be used as pickup ID to retrieve the created SSH Certificate.
For more details review the
retrieveSshCertificate(SshCertificateRequest)method. - Throws:
VCertException
-
retrieveSshCertificate
SshCertRetrieveDetails retrieveSshCertificate(SshCertificateRequest sshCertificateRequest) throws VCertException
Retrieve a requested SSH Certificate- Parameters:
sshCertificateRequest- TheSshCertificateRequestinstance needed to do the request.
It's mandatory to set the PickUpID which is the value of the DN returned when the SSH Certificate was requested. For more information about of which properties should be filled, please review the documentation ofSshCertificateRequest.- Returns:
- A
SshCertRetrieveDetailscontaining the Certificate Data of the created Certificate. - Throws:
VCertException
-
retrieveSshConfig
SshConfig retrieveSshConfig(SshCaTemplateRequest sshCaTemplateRequest) throws VCertException
Retrieve theSshConfigof the CA specified in theSshCaTemplateRequest.- Parameters:
sshCaTemplateRequest-- Returns:
- A
SshConfig. - Throws:
VCertException
-
-