Package org.bzdev.net

Class PemDecoder.Result

java.lang.Object
org.bzdev.net.PemDecoder.Result
Enclosing class:
PemDecoder

public static class PemDecoder.Result extends Object
Result class for PEM decoding.
  • Constructor Details

    • Result

      public Result()
  • Method Details

    • getType

      public String getType()
      Get the type of the data.
      Returns:
      the type (e.g. PUBLIC KEY, CERTIFICATE, etc.)
    • getBytes

      public byte[] getBytes()
      Get the object in binary form.
      Returns:
      the byte sequence representing an encoded object
    • getHeaders

      public HeaderOps getHeaders()
      Get any headers that appeared before the start of a PEM-encoded object.
      Returns:
      the headers