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
DistributedSignerProxy
sign
in interface DistributedSignerProxy
SignatureException
public Set<String> getAliases()
DistributedSignerProxy
getAliases
in interface DistributedSignerProxy
public List<X509Certificate> getCertificateChain(String alias)
DistributedSignerProxy
getCertificateChain
in interface DistributedSignerProxy
public String getAlgorithm(String alias)
DistributedSignerProxy
getAlgorithm
in interface DistributedSignerProxy
Connector Packaging TECHNICAL 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.