Bouncy Castle Cryptography Library 1.86

org.bouncycastle.crypto.engines
Class SM9Engine.Mode

java.lang.Object
  extended byorg.bouncycastle.crypto.engines.SM9Engine.Mode
Enclosing class:
SM9Engine

public static final class SM9Engine.Mode
extends java.lang.Object

The GM/T 0044.4-2016 data-encapsulation method. (A constants class rather than an enum so the single source also compiles for the legacy pre-Java-5 distributions.)


Field Summary
static SM9Engine.Mode SM4
          SM4/ECB/PKCS#7 block cipher encapsulation (method b).
static SM9Engine.Mode STREAM
          KDF-based stream cipher (XOR) encapsulation (method a).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STREAM

public static final SM9Engine.Mode STREAM
KDF-based stream cipher (XOR) encapsulation (method a).


SM4

public static final SM9Engine.Mode SM4
SM4/ECB/PKCS#7 block cipher encapsulation (method b).


Bouncy Castle Cryptography Library 1.86