CertificateBaseProperties Class
- java.
lang. Object - com.
microsoft. azure. management. batch. CertificateBaseProperties
- com.
public class CertificateBaseProperties
Base certificate properties.
Constructor Summary
Constructor | Description | |
---|---|---|
CertificateBaseProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Certificate |
format()
Get the format of the certificate - either Pfx or Cer. |
java.lang.String |
thumbprint()
Get this must match the thumbprint from the name. |
java.lang.String |
thumbprintAlgorithm()
Get this must match the first portion of the certificate name. |
Certificate |
withFormat(CertificateFormat format)
Set the format of the certificate - either Pfx or Cer. |
Certificate |
withThumbprint(String thumbprint)
Set this must match the thumbprint from the name. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set this must match the first portion of the certificate name. |
Methods inherited from java.lang.Object
Constructor Details
CertificateBaseProperties
public CertificateBaseProperties()
Method Details
format
public CertificateFormat format()
Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
Returns:
thumbprint
public String thumbprint()
Get this must match the thumbprint from the name.
Returns:
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Returns:
withFormat
public CertificateBaseProperties withFormat(CertificateFormat format)
Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
Parameters:
Returns:
withThumbprint
public CertificateBaseProperties withThumbprint(String thumbprint)
Set this must match the thumbprint from the name.
Parameters:
Returns:
withThumbprintAlgorithm
public CertificateBaseProperties withThumbprintAlgorithm(String thumbprintAlgorithm)
Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Parameters:
Returns:
Applies to
Azure SDK for Java