Package org.bouncycastle.bcpg
Class S2K.GNUDummyParams
- java.lang.Object
-
- org.bouncycastle.bcpg.S2K.GNUDummyParams
-
- Enclosing class:
- S2K
public static class S2K.GNUDummyParams extends java.lang.Object
Parameters for theS2K.GNU_DUMMY_S2K
method.- See Also:
- GNU extensions to the S2K algorithm
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S2K.GNUDummyParams
divertToCard()
Factory method for a GNU Dummy S2K indicating a private key located on a smart card.int
getProtectionMode()
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
noPrivateKey()
Factory method for a GNU Dummy S2K indicating a missing private key.
-
-
-
Method Detail
-
noPrivateKey
public static S2K.GNUDummyParams noPrivateKey()
Factory method for a GNU Dummy S2K indicating a missing private key.- Returns:
- params
-
divertToCard
public static S2K.GNUDummyParams divertToCard()
Factory method for a GNU Dummy S2K indicating a private key located on a smart card.- Returns:
- params
-
internal
public static S2K.GNUDummyParams 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
-
-