public class KeyPairCredential extends AbstractExtendedCredential
Certificate
and PrivateKey
as input. Implementation of AbstractExtendedCredential
Constructor and Description |
---|
KeyPairCredential(PrivateKey privateKey,
X509Certificate certificate) |
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 KeyPairCredential(PrivateKey privateKey, X509Certificate certificate)
privateKey
- certificate
- public 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 TECHNICAL 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.