public class KeyStoreCredential extends AbstractExtendedCredential
AbstractExtendedCredential| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyStoreCredential.ThrowingSupplier<T> |
| Constructor and Description |
|---|
KeyStoreCredential(KeyStoreInfo keyStoreInfo)
Instantiates a new key store credential.
|
KeyStoreCredential(KeyStore keystore,
String alias,
String password) |
KeyStoreCredential(String keystorePath,
String alias,
String password)
Instantiates a new key store credential.
|
KeyStoreCredential(String keystorePath,
String pwdKeystore,
String privateKeyAlias,
String pwdPrivateKey)
Instantiates a new key store credential.
|
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCertificate()
Gets the certificate.
|
Certificate[] |
getCertificateChain()
Gets the certificate chain
|
String |
getIssuer()
Gets the issuer.
|
String |
getIssuerQualifier()
Gets the issuer qualifier.
|
KeyStore |
getKeyStore()
Gets the associated
KeyStore |
PrivateKey |
getPrivateKey()
Gets the private key.
|
String |
getProviderName()
Gets the keystore provider
|
PublicKey |
getPublicKey()
Gets the public key.
|
static <T> T |
loadIfNull(T currentValue,
KeyStoreCredential.ThrowingSupplier<T> supplier,
org.slf4j.Logger logger) |
getCertPath, getExpirationDateTimepublic KeyStoreCredential(KeyStoreInfo keyStoreInfo) throws TechnicalConnectorException
keyStoreInfo - the key store infoTechnicalConnectorException - the technical connector exceptionpublic KeyStoreCredential(String keystorePath, String alias, String password) throws TechnicalConnectorException
keystorePath - the keystore pathalias - the aliaspassword - the passwordTechnicalConnectorException - the technical connector exceptionpublic KeyStoreCredential(String keystorePath, String pwdKeystore, String privateKeyAlias, String pwdPrivateKey) throws TechnicalConnectorException
keystorePath - the keystore pathTechnicalConnectorException - the technical connector exceptionpublic String getIssuer()
public String getIssuerQualifier()
public PublicKey getPublicKey()
public PrivateKey getPrivateKey()
public X509Certificate getCertificate()
public String getProviderName()
Credentialpublic Certificate[] getCertificateChain()
Credentialpublic KeyStore getKeyStore() throws TechnicalConnectorException
CredentialKeyStoreTechnicalConnectorExceptionpublic static <T> T loadIfNull(T currentValue,
KeyStoreCredential.ThrowingSupplier<T> supplier,
org.slf4j.Logger logger)
Connector Packaging PERSOCCUPATIONALTHERAPIST 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.