All Packages Class Hierarchy
You can't just add a Certificate - you need at least a UserId and KeyRingTrust packet, and possibly signatures and further UserIds as well.
KeyRingEntry contains all of this.
If from is null, the message will only be encrypted.
If to is empty, the message will be clearsigned.
plaintext_ and ciphertext_ will be set appropriately.
sig on cert
and username using the keys in store.
sig on key's cert
and username using the keys in store.
sig on cert
and username using the keys in this keystore.
store.
N.B. this can take a LONG time.
N.B. this can take a LONG time.
s.
N.B.
N.B.
(Used by PacketFactory).
(Used by PacketFactory).
Only checks local keyrings.
If their key is not available, the keyID is returned as a String.
eg:
byte key[] = MessageDigest.hash( bytearray, new MD5() );
eg:
byte key[] = MessageDigest.hash( passPhrase, new MD5() );
KeyRingEntry with these parameters.
KeyRingEntry with these parameters.
KeyRingEntry from reader.If the entry does not contain any trust information (i.e.
trust0.
in.
self_test.
self_test.
pkt to out.
name packet in buf
to out.
name packet in buf.
buf[]
without the PGP framing lines.
pkt.
If the entry contains a secret key, null is returned.
in.
filename.
in with length.
dis until a PGP section appears.
in.
filename.
String which contains the certificate,
user names and their associated trust and signature packets.
out.
out.