Class BinaryUtil.ParseDerResult<T>

java.lang.Object
com.yubico.internal.util.BinaryUtil.ParseDerResult<T>
Enclosing class:
BinaryUtil

public static final class BinaryUtil.ParseDerResult<T> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The offset of the first octet past the end of the parsed value.
    final T
    The parsed value, excluding the tag-and-length header.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParseDerResult(T result, int nextOffset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    The offset of the first octet past the end of the parsed value.
    The parsed value, excluding the tag-and-length header.
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • result

      public final T result
      The parsed value, excluding the tag-and-length header.
    • nextOffset

      public final int nextOffset
      The offset of the first octet past the end of the parsed value. In other words, the offset to continue reading from.
  • Constructor Details

    • ParseDerResult

      public ParseDerResult(T result, int nextOffset)
  • Method Details

    • getResult

      public T getResult()
      The parsed value, excluding the tag-and-length header.
    • getNextOffset

      public int getNextOffset()
      The offset of the first octet past the end of the parsed value. In other words, the offset to continue reading from.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object