Class PivProvider

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class PivProvider extends Provider
See Also:
  • Constructor Details

    • PivProvider

      public PivProvider(PivSession session)
      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