public class

PemObject

extends Object
implements PemObjectGenerator
java.lang.Object
   ↳ org.bouncycastle.util.io.pem.PemObject

Summary

Public Constructors
PemObject(String type, byte[] content)
Generic constructor for object without headers.
PemObject(String type, List headers, byte[] content)
Generic constructor for object with headers.
Public Methods
PemObject generate()
byte[] getContent()
List getHeaders()
String getType()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.util.io.pem.PemObjectGenerator

Public Constructors

public PemObject (String type, byte[] content)

Generic constructor for object without headers.

Parameters
type pem object type.
content the binary content of the object.

public PemObject (String type, List headers, byte[] content)

Generic constructor for object with headers.

Parameters
type pem object type.
headers a list of PemHeader objects.
content the binary content of the object.

Public Methods

public PemObject generate ()

public byte[] getContent ()

public List getHeaders ()

public String getType ()