Package eu.europa.esig.dss.token
Class MSCAPISignatureToken
java.lang.Object
eu.europa.esig.dss.token.AbstractSignatureTokenConnection
eu.europa.esig.dss.token.AbstractKeyStoreTokenConnection
eu.europa.esig.dss.token.MSCAPISignatureToken
- All Implemented Interfaces:
SignatureTokenConnection
,AutoCloseable
Class holding all MS CAPI API access logic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected KeyStore.PasswordProtection
Gets the password protectionprotected KeyStore
Gets the key storeMethods inherited from class eu.europa.esig.dss.token.AbstractKeyStoreTokenConnection
getKey, getKey, getKeys, setKeyEntryPredicate
Methods inherited from class eu.europa.esig.dss.token.AbstractSignatureTokenConnection
createPSSParam, getSignatureInstance, sign, sign, sign, signDigest, signDigest, signDigest
-
Constructor Details
-
MSCAPISignatureToken
public MSCAPISignatureToken()Default constructor
-
-
Method Details
-
getKeyStore
Description copied from class:AbstractKeyStoreTokenConnection
Gets the key store- Specified by:
getKeyStore
in classAbstractKeyStoreTokenConnection
- Returns:
KeyStore
- Throws:
DSSException
-
getKeyProtectionParameter
Description copied from class:AbstractKeyStoreTokenConnection
Gets the password protection- Specified by:
getKeyProtectionParameter
in classAbstractKeyStoreTokenConnection
- Returns:
KeyStore.PasswordProtection
-
close
public void close()
-