Package org.bouncycastle.bcpg
Class S2K.GNUDummyParams
java.lang.Object
org.bouncycastle.bcpg.S2K.GNUDummyParams
- Enclosing class:
S2K
Parameters for the
S2K.GNU_DUMMY_S2K
method.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic S2K.GNUDummyParams
Factory method for a GNU Dummy S2K indicating a private key located on a smart card.int
Return the GNU Dummy S2K protection method.static S2K.GNUDummyParams
internal()
Factory method for a GNU Dummy S2K indicating an internal private key.static S2K.GNUDummyParams
Factory method for a GNU Dummy S2K indicating a missing private key.
-
Method Details
-
noPrivateKey
Factory method for a GNU Dummy S2K indicating a missing private key.- Returns:
- params
-
divertToCard
Factory method for a GNU Dummy S2K indicating a private key located on a smart card.- Returns:
- params
-
internal
Factory method for a GNU Dummy S2K indicating an internal private key.- Returns:
- params
-
getProtectionMode
public int getProtectionMode()Return the GNU Dummy S2K protection method.- Returns:
- protection method
-