ASN1Encoding (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1

## Interface ASN1Encoding

-     public interface ASN1Encoding

  Supported encoding formats.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `BER` BER - basic encoding rules.
    `static java.lang.String` | `DER` DER - distinguished encoding rules.
    `static java.lang.String` | `DL` DL - definite length encoding.

- - ### Field Detail

    - #### DER

          static final java.lang.String DER

      DER - distinguished encoding rules.
      See Also:
        Constant Field Values

    - #### DL

          static final java.lang.String DL

      DL - definite length encoding.
      See Also:
        Constant Field Values

    - #### BER

          static final java.lang.String BER

      BER - basic encoding rules.
      See Also:
        Constant Field Values