public class KeyStoreCredential extends AbstractExtendedCredential
AbstractExtendedCredential
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.
|
getCertPath, getExpirationDateTime
public 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()
Credential
public Certificate[] getCertificateChain()
Credential
public KeyStore getKeyStore() throws TechnicalConnectorException
Credential
KeyStore
TechnicalConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.