public class CertificateUtils extends Object
| Constructor and Description |
|---|
CertificateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAliasFromHeaderCert(String base64EncodedCertificate) |
static String |
getAliasFromRequest(String certB64)
Used to get the certificate alias for a certificate which is get from the Request .
|
static String |
getAliasFromTrustStore(X509Certificate certificate,
KeyStore truststore)
Used to get the certificate alias for a certificate which is get from header send by payload.
|
public static String getAliasFromTrustStore(X509Certificate certificate, KeyStore truststore) throws CertificateException, CertificateEncodingException, KeyStoreException
Copyright © 2024 WSO2. All rights reserved.