public class CredentialProxy extends Object implements DistributedSignerProxy
DistributedSignerProxy and using a Credential as implementation.| Constructor and Description |
|---|
CredentialProxy(Credential cred) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm(String alias)
Returns the standard algorithm name for this key.
|
Set<String> |
getAliases()
Method for obtaining all the aliases that are supported by the distributed keystore.
|
List<X509Certificate> |
getCertificateChain(String alias)
Method for obtaining the certificate chain based on the distriubted keystore and the alias.
|
byte[] |
sign(byte[] digestValue,
String digestAlgo,
String alias)
Method used for signing a already calculated digest.
|
public CredentialProxy(Credential cred)
public byte[] sign(byte[] digestValue,
String digestAlgo,
String alias)
throws SignatureException
DistributedSignerProxysign in interface DistributedSignerProxySignatureExceptionpublic Set<String> getAliases()
DistributedSignerProxygetAliases in interface DistributedSignerProxypublic List<X509Certificate> getCertificateChain(String alias)
DistributedSignerProxygetCertificateChain in interface DistributedSignerProxypublic String getAlgorithm(String alias)
DistributedSignerProxygetAlgorithm in interface DistributedSignerProxy
Connector Packaging generic 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.