Package eu.europa.esig.dss.token
Class AppleSignatureToken
java.lang.Object
eu.europa.esig.dss.token.AbstractSignatureTokenConnection
eu.europa.esig.dss.token.AbstractKeyStoreTokenConnection
eu.europa.esig.dss.token.AppleSignatureToken
- All Implemented Interfaces:
SignatureTokenConnection
,AutoCloseable
Class provides an API for MacOS Keychain access.
For more details please refer to the used documentation:
https://github.com/openjdk/jdk17u/blob/master/src/java.base/macosx/classes/apple/security/KeychainStore.java
-
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
-
AppleSignatureToken
public AppleSignatureToken()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()
-