Package com.venafi.vcert.sdk.certificate
Class SshCertificateRequest
- java.lang.Object
-
- com.venafi.vcert.sdk.certificate.SshCertificateRequest
-
public class SshCertificateRequest extends Object
This class represents the request Object needed to "request" a new SSH Certificate and also to "retrieve" the requested SSH Certificate.
This dual purpose is because the "request SSH Certificate" action returns the DN of the created SSH certificate which will be used as the PickUp ID for the Request Object to "retrieve the generated Certificate", so in order to avoid the creation of a new Request object then the Request Object created to "Request the SSH Certificate" can be used also to "Retrieve the generated SSH Certificate" setting the PickUp ID as the value gotten in the result from the call to the "Request SSH Certificate" action.
For request a new SSH Certificate the attributes to use are:template(Mandatory)policyDN(Optional)objectName(Optional)destinationAddresses(Optional)keyId(Mandatory)principals(Optional)validityPeriod(Optional)publicKeyData(Optional)extensions(Optional)forceCommand(Optional)sourceAddresses(Optional)
pickupID(Mandatory)guid(Optional)privateKeyPassphrase(Optional)
VCertClient.requestSshCertificate(SshCertificateRequest)orVCertTknClient.requestSshCertificate(SshCertificateRequest);
and for the "Retrieve SSH Certificates" action seeVCertClient.retrieveSshCertificate(SshCertificateRequest)orVCertTknClient.retrieveSshCertificate(SshCertificateRequest)- Author:
- Marcos E. Albornoz Abud
-
-
Constructor Summary
Constructors Constructor Description SshCertificateRequest()
-
-
-
Method Detail
-
timeout
public Duration timeout()
-
-