use of org.cloudfoundry.credhub.request.RsaGenerateRequest in project credhub by cloudfoundry-incubator.
the class RsaCredentialRegeneratable method createGenerateRequest.
@Override
public BaseCredentialGenerateRequest createGenerateRequest(CredentialVersion credentialVersion, List<EventAuditRecordParameters> auditRecordParameters) {
RsaCredentialVersion rsaCredential = (RsaCredentialVersion) credentialVersion;
RsaGenerateRequest generateRequest = new RsaGenerateRequest();
generateRequest.setName(rsaCredential.getName());
generateRequest.setType(rsaCredential.getCredentialType());
generateRequest.setOverwrite(true);
return generateRequest;
}
Aggregations