Package com.oss.asn1

Enum Class TransferSyntax

java.lang.Object
java.lang.Enum<TransferSyntax>
com.oss.asn1.TransferSyntax
All Implemented Interfaces:
Serializable, Comparable<TransferSyntax>, Constable

public enum TransferSyntax extends Enum<TransferSyntax>
Enumerated identifiers for all the ASN.1 encoding rules (transfer syntaxes) that are supported by the OSS Java runtime. Enumerated instances are used to indicate transfer syntax of an encoded value of an open type.
Since:
ASN.1/Java 8.5
  • Enum Constant Details

    • BER

      public static final TransferSyntax BER
      Basic Encoding Rules (BER)
    • DER

      public static final TransferSyntax DER
      Distinguished Encoding Rules (DER)
    • CER

      public static final TransferSyntax CER
      Canonical Encoding Rules (CER)
    • PER_ALIGNED

      public static final TransferSyntax PER_ALIGNED
      Packed Encoding Rules (PER - Aligned)
    • PER_UNALIGNED

      public static final TransferSyntax PER_UNALIGNED
      Packed Encoding Rules (PER - Unaligned)
    • CPER_ALIGNED

      public static final TransferSyntax CPER_ALIGNED
      Canonical Packed Encoding Rules (CPER - Aligned)
    • CPER_UNALIGNED

      public static final TransferSyntax CPER_UNALIGNED
      Canonical Packed Encoding Rules (CPER - Unaligned)
    • OER

      public static final TransferSyntax OER
      Octet Encoding Rules (OER)
    • COER

      public static final TransferSyntax COER
      Canonical Octet Encoding Rules (COER)
    • XER

      public static final TransferSyntax XER
      XML Encoding Rules (XER)
    • CXER

      public static final TransferSyntax CXER
      Canonical XML Encoding Rules (CXER)
    • EXER

      public static final TransferSyntax EXER
      Extended XML Encoding Rules (EXER)
    • JSON

      public static final TransferSyntax JSON
      JSON Encoding Rules (JSON)
  • Method Details

    • values

      public static TransferSyntax[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TransferSyntax valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • description

      public String description()
      Returns a string that describes this encoding rules.
      Returns:
      description of this encoding rules.