Certificates.get 方法

定义

重载

get(String thumbprintAlgorithm, String thumbprint)

Gets information about the specified certificate.

get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

Gets information about the specified certificate.

get(String thumbprintAlgorithm, String thumbprint)

Gets information about the specified certificate.

public Certificate get(String thumbprintAlgorithm, String thumbprint)

参数

thumbprintAlgorithm
String

The algorithm used to derive the thumbprint parameter. This must be sha1.

thumbprint
String

The thumbprint of the certificate to get.

返回

the Certificate object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

Gets information about the specified certificate.

public Certificate get(String thumbprintAlgorithm, String thumbprint, CertificateGetOptions certificateGetOptions)

参数

thumbprintAlgorithm
String

The algorithm used to derive the thumbprint parameter. This must be sha1.

thumbprint
String

The thumbprint of the certificate to get.

certificateGetOptions
CertificateGetOptions

Additional parameters for the operation

返回

the Certificate object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

适用于