Package com.yubico.yubikit.piv.jca
Class PivProvider
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
java.security.Provider
com.yubico.yubikit.piv.jca.PivProvider
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorDescriptionPivProvider
(com.yubico.yubikit.core.util.Callback<com.yubico.yubikit.core.util.Callback<com.yubico.yubikit.core.util.Result<PivSession, Exception>>> sessionRequester) Creates a Security Provider capable of using a PivSession with a YubiKey to perform key operations.PivProvider
(PivSession session) Creates a Security Provider wrapping an instance of a PivSession. -
Method Summary
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
Methods inherited from class java.util.Properties
clone, contains, containsKey, containsValue, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
-
Constructor Details
-
PivProvider
Creates a Security Provider wrapping an instance of a PivSession.The PivSession must be active for as long as the Provider will be used.
- Parameters:
session
- A PivSession to use for YubiKey interaction.
-
PivProvider
public PivProvider(com.yubico.yubikit.core.util.Callback<com.yubico.yubikit.core.util.Callback<com.yubico.yubikit.core.util.Result<PivSession, Exception>>> sessionRequester) Creates a Security Provider capable of using a PivSession with a YubiKey to perform key operations.- Parameters:
sessionRequester
- a mechanism for the Provider to get an instance of a PivSession.
-
-
Method Details