java.lang.Object
org.bzdev.net.PemDecoder.Result
- Enclosing class:
- PemDecoder
Result class for PEM decoding.
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
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
Get any headers that appeared before the start of a PEM-encoded object.- Returns:
- the headers
-