# Uses of Enum
org.apache.synapse.commons.crypto.EncodeDecodeTypes

Packages that use EncodeDecodeTypes
Package
Description
org.apache.synapse.commons.crypto

- ## Uses of EncodeDecodeTypes in org.apache.synapse.commons.crypto

  Methods in org.apache.synapse.commons.crypto that return EncodeDecodeTypes
  Modifier and Type
  Method
  Description
  `static EncodeDecodeTypes`
  Util.`getEncodeDecodeType(String value, EncodeDecodeTypes defaultValue)`
  Helper method to decide encode decode types.
  `static EncodeDecodeTypes`
  EncodeDecodeTypes.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static EncodeDecodeTypes[]`
  EncodeDecodeTypes.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.synapse.commons.crypto with parameters of type EncodeDecodeTypes
  Modifier and Type
  Method
  Description
  `static byte[]`
  EncodeDecodeHelper.`decode(byte[] input, EncodeDecodeTypes decodingType)`
  Decodes the provided byte array using the specified decoding type.
  `static byte[]`
  EncodeDecodeHelper.`encode(byte[] input, EncodeDecodeTypes encodingType)`
  Encodes the provided byte array using the specified encoding type.
  `static EncodeDecodeTypes`
  Util.`getEncodeDecodeType(String value, EncodeDecodeTypes defaultValue)`
  Helper method to decide encode decode types.