Interface ASN1Value

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void encode​(java.io.OutputStream ostream)
      Write this value's DER encoding to an output stream using its own base tag.
      void encode​(Tag implicitTag, java.io.OutputStream ostream)
      Write this value's DER encoding to an output stream using an implicit tag.
      Tag getTag()
      Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
    • Method Detail

      • getTag

        Tag getTag()
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        Returns:
        Base tag.
      • encode

        void encode​(java.io.OutputStream ostream)
             throws java.io.IOException
        Write this value's DER encoding to an output stream using its own base tag.
        Parameters:
        ostream - Output stream.
        Throws:
        java.io.IOException - If an error occurred.
      • encode

        void encode​(Tag implicitTag,
                    java.io.OutputStream ostream)
             throws java.io.IOException
        Write this value's DER encoding to an output stream using an implicit tag.
        Parameters:
        implicitTag - Implicit tag.
        ostream - Output stream.
        Throws:
        java.io.IOException - If an error occurred.