|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.util.io.pem.PemObject
public class PemObject
A generic PEM object - type, header properties, and byte content.
| Constructor Summary | |
|---|---|
PemObject(java.lang.String type,
byte[] content)
Generic constructor for object without headers. |
|
PemObject(java.lang.String type,
java.util.List headers,
byte[] content)
Generic constructor for object with headers. |
|
| Method Summary | |
|---|---|
PemObject |
generate()
Generate a PEM object. |
byte[] |
getContent()
|
java.util.List |
getHeaders()
|
java.lang.String |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PemObject(java.lang.String type,
byte[] content)
type - pem object type.content - the binary content of the object.
public PemObject(java.lang.String type,
java.util.List headers,
byte[] content)
type - pem object type.headers - a list of PemHeader objects.content - the binary content of the object.| Method Detail |
|---|
public java.lang.String getType()
public java.util.List getHeaders()
public byte[] getContent()
public PemObject generate()
throws PemGenerationException
PemObjectGenerator
generate in interface PemObjectGeneratorPemGenerationException - on failure.
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||