Package org.bouncycastle.crypto.engines
Class SM9Engine.Mode
- java.lang.Object
-
- org.bouncycastle.crypto.engines.SM9Engine.Mode
-
- Enclosing class:
- SM9Engine
public static final class SM9Engine.Mode extends java.lang.ObjectThe 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
Fields Modifier and Type Field Description static SM9Engine.ModeSM4SM4/ECB/PKCS#7 block cipher encapsulation (method b).static SM9Engine.ModeSTREAMKDF-based stream cipher (XOR) encapsulation (method a).
-
-
-
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).
-
-