|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.bcpg.BCPGObject | +--org.bouncycastle.bcpg.OctetArrayBCPGKey
Public/Secret BCPGKey which is encoded as an array of octets rather than an MPI.
Method Summary | |
void |
encode(BCPGOutputStream out)
|
byte[] |
getEncoded()
return the standard PGP encoding of the key. |
java.lang.String |
getFormat()
Return the base format for this key - in the case of the symmetric keys it will generally be raw indicating that the key is just a straight byte representation, for an asymmetric key the format will be PGP, indicating the key is a string of MPIs or octets encoded in PGP format. |
byte[] |
getKey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public byte[] getEncoded()
getEncoded
in interface BCPGKey
getEncoded
in class BCPGObject
BCPGKey.getEncoded()
public java.lang.String getFormat()
BCPGKey
getFormat
in interface BCPGKey
org.bouncycastle.bcpg.BCPGKey
public void encode(BCPGOutputStream out) throws java.io.IOException
encode
in class BCPGObject
public byte[] getKey()
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |