|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.fgov.ehealth.technicalconnector.distributedkeys.proxy.DigitalSignatureServiceProxy
public class DigitalSignatureServiceProxy
Implementation of the DistributedSignerProxy by using the OASIS DSS protocol for the sign method.
| Constructor Summary | |
|---|---|
DigitalSignatureServiceProxy(GenericRequest req,
String profile,
Map<String,List<X509Certificate>> certificates)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DigitalSignatureServiceProxy(GenericRequest req,
String profile,
Map<String,List<X509Certificate>> certificates)
| Method Detail |
|---|
public byte[] sign(byte[] digestValue,
String digestAlgo,
String alias)
throws SignatureException
DistributedSignerProxy
sign in interface DistributedSignerProxySignatureExceptionpublic Set<String> getAliases()
DistributedSignerProxy
getAliases in interface DistributedSignerProxypublic List<X509Certificate> getCertificateChain(String alias)
DistributedSignerProxy
getCertificateChain in interface DistributedSignerProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||