Class AbstractDERType

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDERType​(DERTag tag)
      Creates a new abstract der type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] encode​(byte[]... items)
      DER encode the supplied items with the tag associated with this type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDERType

        public AbstractDERType​(DERTag tag)
        Creates a new abstract der type.
        Parameters:
        tag - to encode for this type
    • Method Detail

      • encode

        protected byte[] encode​(byte[]... items)
        DER encode the supplied items with the tag associated with this type. If the length is greater than 127 bytes the long form is always expressed using 4 bytes.
        Parameters:
        items - to encode
        Returns:
        DER encoded items