Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/javax/crypto/Cipher_static.fz


# Fuzion interface to static members of Java class 'javax.crypto.Cipher'
#
# !!!!!!  DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called 
# as follows:
#
#   ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.javax.crypto.Cipher_static is

  # call Java static method 'public static final javax.crypto.Cipher javax.crypto.Cipher.getInstance(java.lang.String) throws java.security.NoSuchAlgorithmException,javax.crypto.NoSuchPaddingException':
  #
  public getInstance_Ljava_7_lang_7_String_s_(arg0 String) outcome (Java.javax.crypto.Cipher) =>
    fuzion.java.call_static (outcome (Java.javax.crypto.Cipher)) "javax.crypto.Cipher" "getInstance" "(Ljava/lang/String;)Ljavax/crypto/Cipher;" [(fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getInstance_Ljava_7_lang_7_String_s_.this.arg0)]

  # call Java static method 'public static final javax.crypto.Cipher javax.crypto.Cipher.getInstance(java.lang.String,java.lang.String) throws java.security.NoSuchAlgorithmException,java.security.NoSuchProviderException,javax.crypto.NoSuchPaddingException':
  #
  public getInstance_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_(arg0 String, arg1 String) outcome (Java.javax.crypto.Cipher) =>
    fuzion.java.call_static (outcome (Java.javax.crypto.Cipher)) "javax.crypto.Cipher" "getInstance" "(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;" [(fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getInstance_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getInstance_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg1)]

  # call Java static method 'public static final javax.crypto.Cipher javax.crypto.Cipher.getInstance(java.lang.String,java.security.Provider) throws java.security.NoSuchAlgorithmException,javax.crypto.NoSuchPaddingException':
  #
  public getInstance_Ljava_7_lang_7_String_s_Ljava_7_security_7_Provider_s_(arg0 String, arg1 Java.java.security.Provider) outcome (Java.javax.crypto.Cipher) =>
    fuzion.java.call_static (outcome (Java.javax.crypto.Cipher)) "javax.crypto.Cipher" "getInstance" "(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/Cipher;" [(fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getInstance_Ljava_7_lang_7_String_s_Ljava_7_security_7_Provider_s_.this.arg0); (Java.javax.crypto.Cipher_static.getInstance_Ljava_7_lang_7_String_s_Ljava_7_security_7_Provider_s_.this.arg1)]

  # call Java static method 'public static final int javax.crypto.Cipher.getMaxAllowedKeyLength(java.lang.String) throws java.security.NoSuchAlgorithmException':
  #
  public getMaxAllowedKeyLength_Ljava_7_lang_7_String_s_(arg0 String) outcome (i32) =>
    fuzion.java.call_static (outcome (i32)) "javax.crypto.Cipher" "getMaxAllowedKeyLength" "(Ljava/lang/String;)I" [(fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getMaxAllowedKeyLength_Ljava_7_lang_7_String_s_.this.arg0)]

  # call Java static method 'public static final java.security.spec.AlgorithmParameterSpec javax.crypto.Cipher.getMaxAllowedParameterSpec(java.lang.String) throws java.security.NoSuchAlgorithmException':
  #
  public getMaxAllowedParameterSpec_Ljava_7_lang_7_String_s_(arg0 String) outcome (Java.java.security.spec.AlgorithmParameterSpec) =>
    fuzion.java.call_static (outcome (Java.java.security.spec.AlgorithmParameterSpec)) "javax.crypto.Cipher" "getMaxAllowedParameterSpec" "(Ljava/lang/String;)Ljava/security/spec/AlgorithmParameterSpec;" [(fuzion.java.string_to_java_object Java.javax.crypto.Cipher_static.getMaxAllowedParameterSpec_Ljava_7_lang_7_String_s_.this.arg0)]

  # short-hand to call Java method 'public static final javax.crypto.Cipher javax.crypto.Cipher.getInstance(java.lang.String) throws java.security.NoSuchAlgorithmException,javax.crypto.NoSuchPaddingException':
  #
  public getInstance(arg0 String) (outcome (Java.javax.crypto.Cipher)) =>
    getInstance_Ljava_7_lang_7_String_s_ Java.javax.crypto.Cipher_static.getInstance.this.arg0

  # short-hand to call Java method 'public static final javax.crypto.Cipher javax.crypto.Cipher.getInstance(java.lang.String,java.lang.String) throws java.security.NoSuchAlgorithmException,java.security.NoSuchProviderException,javax.crypto.NoSuchPaddingException':
  #
  public getInstance(arg0 String, arg1 String) (outcome (Java.javax.crypto.Cipher)) =>
    getInstance_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_ Java.javax.crypto.Cipher_static.getInstance.this.arg0 Java.javax.crypto.Cipher_static.getInstance.this.arg1

  # short-hand to call Java method 'public static final int javax.crypto.Cipher.getMaxAllowedKeyLength(java.lang.String) throws java.security.NoSuchAlgorithmException':
  #
  public getMaxAllowedKeyLength(arg0 String) (outcome (i32)) =>
    getMaxAllowedKeyLength_Ljava_7_lang_7_String_s_ Java.javax.crypto.Cipher_static.getMaxAllowedKeyLength.this.arg0

  # short-hand to call Java method 'public static final java.security.spec.AlgorithmParameterSpec javax.crypto.Cipher.getMaxAllowedParameterSpec(java.lang.String) throws java.security.NoSuchAlgorithmException':
  #
  public getMaxAllowedParameterSpec(arg0 String) (outcome (Java.java.security.spec.AlgorithmParameterSpec)) =>
    getMaxAllowedParameterSpec_Ljava_7_lang_7_String_s_ Java.javax.crypto.Cipher_static.getMaxAllowedParameterSpec.this.arg0

  # read static Java field 'public static final int javax.crypto.Cipher.DECRYPT_MODE':
  #
  public DECRYPT__MODE i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "DECRYPT_MODE"

  # read static Java field 'public static final int javax.crypto.Cipher.ENCRYPT_MODE':
  #
  public ENCRYPT__MODE i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "ENCRYPT_MODE"

  # read static Java field 'public static final int javax.crypto.Cipher.PRIVATE_KEY':
  #
  public PRIVATE__KEY i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "PRIVATE_KEY"

  # read static Java field 'public static final int javax.crypto.Cipher.PUBLIC_KEY':
  #
  public PUBLIC__KEY i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "PUBLIC_KEY"

  # read static Java field 'public static final int javax.crypto.Cipher.SECRET_KEY':
  #
  public SECRET__KEY i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "SECRET_KEY"

  # read static Java field 'public static final int javax.crypto.Cipher.UNWRAP_MODE':
  #
  public UNWRAP__MODE i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "UNWRAP_MODE"

  # read static Java field 'public static final int javax.crypto.Cipher.WRAP_MODE':
  #
  public WRAP__MODE i32 =>
    fuzion.java.get_static_field (i32) "javax.crypto.Cipher" "WRAP_MODE"
last changed: 2024-03-07