Operations: Server: How to Get a Certificate
To get a client certificate by thumbprint use GetCertificateOperation.
Syntax
public GetCertificateOperation(String thumbprint)
Parameters | ||
---|---|---|
thumbprint | String | Certificate thumbprint |
Return Value | |
---|---|
CertificateDefinition |
Certificate definition |
Example
String thumbprint = "a909502dd82ae41433e6f83886b00d4277a32a7b";
CertificateDefinition definition = store.maintenance()
.server()
.send(new GetCertificateOperation(thumbprint));