Class SM9Engine.Mode

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

public static final class SM9Engine.Mode extends 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 Details

    • 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).