Class SimulatorSmartCardBackend
java.lang.Object
org.bouncycastle.openpgp.smartcard.OpenPGPSmartCardBackend<SimulatorOpenPGPSmartCard>
org.bouncycastle.openpgp.smartcard.simulator.SimulatorSmartCardBackend
-
Field Summary
Fields inherited from class OpenPGPSmartCardBackend
SHORTENED_IDENTIFIER_LENGTH, STORED_FINGERPRINT_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return the name of the backend.Return aListof allsmart cardsmanaged by this backend.org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactoryprovidePublicKeyDataDecryptorFactory(org.bouncycastle.openpgp.api.OpenPGPKey.OpenPGPSecretKey key, SimulatorOpenPGPSmartCard card, org.bouncycastle.openpgp.api.KeyPassphraseProvider userPinProvider)
-
Constructor Details
-
SimulatorSmartCardBackend
public SimulatorSmartCardBackend()
-
-
Method Details
-
getName
Description copied from class:OpenPGPSmartCardBackendReturn the name of the backend.- Specified by:
getNamein classOpenPGPSmartCardBackend<SimulatorOpenPGPSmartCard>- Returns:
- backend name
-
addSmartCard
-
listSmartCards
Description copied from class:OpenPGPSmartCardBackendReturn aListof allsmart cardsmanaged by this backend.- Specified by:
listSmartCardsin classOpenPGPSmartCardBackend<SimulatorOpenPGPSmartCard>- Returns:
- list of smart cards
-
providePublicKeyDataDecryptorFactory
public org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactory providePublicKeyDataDecryptorFactory(org.bouncycastle.openpgp.api.OpenPGPKey.OpenPGPSecretKey key, SimulatorOpenPGPSmartCard card, org.bouncycastle.openpgp.api.KeyPassphraseProvider userPinProvider) throws org.bouncycastle.openpgp.PGPException - Specified by:
providePublicKeyDataDecryptorFactoryin classOpenPGPSmartCardBackend<SimulatorOpenPGPSmartCard>- Throws:
org.bouncycastle.openpgp.PGPException
-