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 SHA-1 hash of the public certificate.
|
default String |
publicCertificateHash256()
Base64 encoded SHA-256 hash of the public certificate.
|
PrivateKey privateKey()
default String publicCertificateHash256() throws CertificateEncodingException, NoSuchAlgorithmException
CertificateEncodingException - if an encoding error occursNoSuchAlgorithmException - if requested algorithm is not available in the environmentString 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–2025. All rights reserved.