Package com.oss.asn1

Class CERCoder

java.lang.Object
com.oss.asn1.Coder
com.oss.asn1.CERCoder
All Implemented Interfaces:
BinaryCoder

public final class CERCoder extends Coder implements BinaryCoder
This class implements coding services for Canonical Encoding Rules (CER).
Since:
ASN.1/Java 3.0.3
  • Field Details

    • ID

      public static final String ID
      The ID string identifies CER encoding rules. The string should be used as relayID when storing unknown extension additions encoded with CER.
      See Also:
  • Method Details

    • usingDefiniteLengthEncoding

      public boolean usingDefiniteLengthEncoding()
      Determine whether DEFINITE length encoding is in effect.
      Overrides:
      usingDefiniteLengthEncoding in class Coder
      Returns:
      true if DEFINITE length encoding is in effect.
    • getTransferSyntax

      public TransferSyntax getTransferSyntax()
      Specified by:
      getTransferSyntax in class Coder
      Returns:
      identifier of this coder encoding rules.