Package com.oss.asn1

Class DERCoder

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

public final class DERCoder extends Coder implements BinaryCoder
This class implements coding services for Distinguished Encoding Rules (DER).
Since:
ASN.1/Java 1.0-beta A
  • Field Details

    • ID

      public static final String ID
      The ID string identifies DER encoding rules. The string should be used as relayID when storing unknown extension additions encoded with DER.
      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.