public interface SignatureTokenConnection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the QSCD.
|
List<DSSPrivateKeyEntry> |
getKeys()
Retrieves all the available keys (private keys entries) from the QSCD.
|
SignatureValue |
sign(ToBeSigned toBeSigned,
DigestAlgorithm digestAlgorithm,
DSSPrivateKeyEntry keyEntry) |
SignatureValue |
sign(ToBeSigned toBeSigned,
DigestAlgorithm digestAlgorithm,
MaskGenerationFunction mgf,
DSSPrivateKeyEntry keyEntry) |
void close()
List<DSSPrivateKeyEntry> getKeys() throws DSSException
DSSException - If there is any problem during the retrieval processSignatureValue sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) throws DSSException
toBeSigned - The data that need to be signeddigestAlgorithm - The digest algorithm to be used before signingkeyEntry - The private key to be usedDSSException - If there is any problem during the signature processSignatureValue sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) throws DSSException
toBeSigned - The data that need to be signeddigestAlgorithm - The digest algorithm to be used before signingmgf - the mask generation functionkeyEntry - The private key to be usedDSSException - If there is any problem during the signature processCopyright © 2018. All rights reserved.