You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certificate and Certificate Import have the policy in common (do we move it down to a parent class which extends from CertificateBase?)
Is it fine to keep ekus and keyUsage properties in KeyOptions class?
CertName, issuerName and (subjectName or sans) is required. Besides certName do we keep issuerName and (subjectName or sans) in certifciate constructors?
CertificateAsyncClient
publicclassCertificateAsyncClientextendsServiceClient
{
// constructorsprivateCertificateAsyncClient(StringvaultUrl, HttpPipelinepipeline);
publicstaticCertificateAsyncClientBuilderbuilder() {
returnnewCertificateAsyncClientBuilder();
}
// methods// The Get Certificate method , the REST API returns Certificate operation for Get Certificate - check with Scott.publicMono<Response<Certificate>> getCertificate(Stringname);
publicMono<Response<Certificate>> getCertificate(Stringname, Stringversion);
// Uses the default policy.publicMono<Response<CertificateOperation>> createCertificate(Stringname);
// Validates the required certificate configuration parameters are set and then invokes rest api call.publicMono<Response<CertificateOperation>> createCertificate(Certificatecertificate);
publicMono<Response<Certificate>> importCertificate( StringcertificateName, StringcertificateFilePath);
publicMono<Response<Certificate>> importCertificate(CertificateImportcertificateImport);
publicFlux<CertificateBase> listCertificateVersions(Stringname);
publicFlux<CertificateBase> listCertificates();
publicFlux<DeletedCertificate> listDeletedCertificates();
//Update works to only update tags and enabled attrbiutes. publicMono<Response<Certificate>> updateCertificate(CertificateBasecertificateBase);
publicMono<Response<DeletedCertificate>> deleteCertificate(Stringname);
publicMono<Response<DeletedCertificate>> getDeletedCertificate(Stringname);
publicMono<Response<Certificate>> recoverDeletedCertificate(Stringname);
publicMono<VoidResponse> purgeDeletedCertificate(Stringname);
publicMono<Response<byte[]>> backupCertificate(Stringname);
publicMono<Response<Certificate>> restoreCertificte(byte[] backup);
publicMono<Response<byte[]>> getPendingCertificateSigningRequest(StringcertificateName);
publicMono<Response<String>> mergeCertificate(Stringname, List<byte[]> x509Certificates);
publicMono<Response<Certificate>> mergeCertificate(MergeCertificateConfigmergeCertificateConfig);
// Certificate PolicypublicMono<Response<CertificateBase>> getCertificatePolicy(StringcertificateName);
publicMono<Response<CertificateBase>> updateCertificatePolicy(StringcertificateName, CertificateBasecertificate);
// Certificate Issuer methodspublicMono<Response<Issuer>> createCertificateIssuer(Stringname, Stringprovider);
publicMono<Response<Issuer>> createCertificateIssuer(Issuerissuer);
publicMono<Response<Issuer>> getCertificateIssuer(Stringname);
publicMono<Response<Issuer>> deleteCertificateIssuer(Stringname);
publicFlux<IssuerBase> listCertificateIssuers();
publicMono<Response<Issuer>> updateIssuer(Issuerissuer);
// Certificate Contacts methodspublicFlux<Contact> setCertificateContacts(List<Contact>);
publicFlux<Contact> listCertificateContacts();
publicFlux<Contact> deleteCertificateContacts();
// Certificate Operation methodspublicMono<Response<CertificateOperation>> getCertificateOperation(StringcertificateName);
publicMono<Response<CertificateOperation>> deleteCertificateOperation(StringcertificateName);
publicMono<Response<CertificateOperation>> updateCertificateOperation(StringcertificateName, booleancancellationRequested);
}
publicfinalclassCertificateAsyncClientBuilder {
privateCertificateAsyncClientBuilder() {
}
publicCertificateAsyncClientbuild() {
//Validate and Build the Client
}
publicCertificateAsyncClientBuilderendpoint(StringvaultEndpoint) {}
publicCertificateAsyncClientBuildercredentials(ServiceClientCredentialscredentials) {}
publicCertificateAsyncClientBuilderhttpLogDetailLevel(HttpLogDetailLevellogLevel) {}
publicCertificateAsyncClientBuilderaddPolicy(HttpPipelinePolicypolicy) {}
publicCertificateAsyncClientBuilderhttpClient(HttpClientclient) {}
}