Uses of Class
com.azure.security.keyvault.certificates.models.CertificatePolicy
Package
Description
Package containing classes for creating
CertificateAsyncClient
and
CertificateClient
to perform operations on Azure Key Vault.This package contains model classes for Azure Key Vault Certificates
-
Uses of CertificatePolicy in com.azure.security.keyvault.certificates
Modifier and TypeMethodDescriptionCertificateClient.getCertificatePolicy
(String certificateName) Retrieves the policy of the specified certificate in the key vault.CertificateClient.updateCertificatePolicy
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.Modifier and TypeMethodDescriptionCertificateAsyncClient.getCertificatePolicy
(String certificateName) Retrieves the policy of the specified certificate in the key vault.CertificateAsyncClient.getCertificatePolicyWithResponse
(String certificateName) Retrieves the policy of the specified certificate in the key vault.CertificateClient.getCertificatePolicyWithResponse
(String certificateName, Context context) Retrieves the policy of the specified certificate in the key vault.CertificateAsyncClient.updateCertificatePolicy
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.CertificateAsyncClient.updateCertificatePolicyWithResponse
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.CertificateClient.updateCertificatePolicyWithResponse
(String certificateName, CertificatePolicy policy, Context context) Updates the policy for a certificate.Modifier and TypeMethodDescriptionCertificateAsyncClient.beginCreateCertificate
(String certificateName, CertificatePolicy policy) Creates a new certificate.CertificateAsyncClient.beginCreateCertificate
(String certificateName, CertificatePolicy policy, Boolean isEnabled, Map<String, String> tags) Creates a new certificate.CertificateClient.beginCreateCertificate
(String certificateName, CertificatePolicy policy) Creates a new certificate.CertificateClient.beginCreateCertificate
(String certificateName, CertificatePolicy policy, Boolean isEnabled, Map<String, String> tags) Creates a new certificate.CertificateAsyncClient.updateCertificatePolicy
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.CertificateClient.updateCertificatePolicy
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.CertificateAsyncClient.updateCertificatePolicyWithResponse
(String certificateName, CertificatePolicy policy) Updates the policy for a certificate.CertificateClient.updateCertificatePolicyWithResponse
(String certificateName, CertificatePolicy policy, Context context) Updates the policy for a certificate. -
Uses of CertificatePolicy in com.azure.security.keyvault.certificates.models
Modifier and TypeMethodDescriptionstatic CertificatePolicy
CertificatePolicy.getDefault()
Get the default certificate policy.ImportCertificateOptions.getPolicy()
Get the management policy for the certificate.KeyVaultCertificateWithPolicy.getPolicy()
Get the certificate policy of the certificateCertificatePolicy.setCertificateTransparent
(Boolean certificateTransparent) Set the certificate transparency status.CertificatePolicy.setCertificateType
(String certificateType) Set the certificate type to request from the issuer.CertificatePolicy.setContentType
(CertificateContentType contentType) Set the content type.CertificatePolicy.setEnabled
(Boolean enabled) Set the enabled status.CertificatePolicy.setEnhancedKeyUsage
(List<String> ekus) Set the enhanced key usage.CertificatePolicy.setExportable
(Boolean exportable) Set the exportable value.CertificatePolicy.setKeyCurveName
(CertificateKeyCurveName keyCurveName) Set the key curve.CertificatePolicy.setKeyReusable
(Boolean keyReusable) Set the reuse key value.CertificatePolicy.setKeySize
(Integer keySize) Set the key size.CertificatePolicy.setKeyType
(CertificateKeyType keyType) Get the key type.CertificatePolicy.setKeyUsage
(CertificateKeyUsage... keyUsage) Set the key usage.CertificatePolicy.setLifetimeActions
(LifetimeAction... actions) Set the lifetime actionsCertificatePolicy.setSubject
(String subject) Set the subject Name.CertificatePolicy.setSubjectAlternativeNames
(SubjectAlternativeNames subjectAlternativeNames) Set the subjectAlternativeNames.CertificatePolicy.setValidityInMonths
(Integer validityInMonths) Set the validity in months.Modifier and TypeMethodDescriptionImportCertificateOptions.setPolicy
(CertificatePolicy policy) Set the management policy for the certificate.KeyVaultCertificateWithPolicy.setPolicy
(CertificatePolicy certificatePolicy) Set the certificate policy of the certificate