Bouncy Castle Cryptography Library 1.84

org.bouncycastle.bcpg
Class GnuExtendedS2K

java.lang.Object
  extended byorg.bouncycastle.bcpg.BCPGObject
      extended byorg.bouncycastle.bcpg.S2K
          extended byorg.bouncycastle.bcpg.GnuExtendedS2K
All Implemented Interfaces:
org.bouncycastle.util.Encodable

public class GnuExtendedS2K
extends S2K

Add a constructor fort GNU-extended S2K

This extension is documented on GnuPG documentation DETAILS file, section "GNU extensions to the S2K algorithm". Its support is already present in S2K class but lack for a constructor.


Nested Class Summary
 
Nested classes inherited from class org.bouncycastle.bcpg.S2K
S2K.Argon2Params, S2K.GNUDummyParams
 
Field Summary
 
Fields inherited from class org.bouncycastle.bcpg.S2K
ARGON_2, GNU_DUMMY_S2K, GNU_PROTECTION_MODE_DIVERT_TO_CARD, GNU_PROTECTION_MODE_INTERNAL, GNU_PROTECTION_MODE_NO_PRIVATE_KEY, SALTED, SALTED_AND_ITERATED, SIMPLE
 
Constructor Summary
GnuExtendedS2K(int mode)
           
 
Methods inherited from class org.bouncycastle.bcpg.S2K
argon2S2K, encode, getHashAlgorithm, getIterationCount, getIV, getMemorySizeExponent, getParallelism, getPasses, getProtectionMode, getType, gnuDummyS2K, saltedAndIteratedS2K, saltedS2K, simpleS2K
 
Methods inherited from class org.bouncycastle.bcpg.BCPGObject
getEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuExtendedS2K

public GnuExtendedS2K(int mode)

Bouncy Castle Cryptography Library 1.84