public class PemObject extends Object implements PemObjectGenerator
| Constructor and Description |
|---|
PemObject(String type,
byte[] content)
Generic constructor for object without headers.
|
PemObject(String type,
List headers,
byte[] content)
Generic constructor for object with headers.
|
| Modifier and Type | Method and Description |
|---|---|
PemObject |
generate() |
byte[] |
getContent() |
List |
getHeaders() |
String |
getType() |
public PemObject(String type, byte[] content)
type - pem object type.content - the binary content of the object.public String getType()
public List getHeaders()
public byte[] getContent()
public PemObject generate() throws PemGenerationException
generate in interface PemObjectGeneratorPemGenerationExceptionCopyright © 2015. All rights reserved.