public interface RemoteSignatureTokenConnection
| Modifier and Type | Method and Description |
|---|---|
RemoteKeyEntry |
getKey(String alias)
Retrieves a key by its alias
|
List<RemoteKeyEntry> |
getKeys()
Retrieves all the available keys (private keys entries) from the QSCD.
|
SignatureValue |
sign(ToBeSigned toBeSigned,
DigestAlgorithm digestAlgorithm,
String alias) |
List<RemoteKeyEntry> getKeys() throws DSSException
DSSException - If there is any problem during the retrieval processRemoteKeyEntry getKey(String alias) throws DSSException
alias - the key alias to retrieveDSSExceptionSignatureValue sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, String alias) throws DSSException
toBeSigned - The data that need to be signeddigestAlgorithm - The digest algorithm to be used before signingalias - The key alias to be usedDSSException - If there is any problem during the signature processCopyright © 2018. All rights reserved.