public interface IClientCertificate extends IClientCredential
For more details, see https://aka.ms/msal4j-client-credentials
Modifier and Type | Method and Description |
---|---|
List<String> |
getEncodedPublicKeyCertificateChain()
Base64 encoded public certificate.
|
PrivateKey |
privateKey()
Returns private key of the credential.
|
String |
publicCertificateHash()
Base64 encoded hash of the the public certificate.
|
PrivateKey privateKey()
String publicCertificateHash() throws CertificateEncodingException, NoSuchAlgorithmException
CertificateEncodingException
- if an encoding error occursNoSuchAlgorithmException
- if requested algorithm is not available in the environmentList<String> getEncodedPublicKeyCertificateChain() throws CertificateEncodingException
CertificateEncodingException
- if an encoding error occursCopyright © 2013–2023. All rights reserved.