Bouncy Castle Cryptography Library 1.79

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 the S2K.GNU_DUMMY_S2K method.

See Also:
GNU extensions to the S2K algorithm

Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Bouncy Castle Cryptography Library 1.79