Adds a certificate
It is assumed that the certificate contains the right pointers to
the public key and the principal, so that the implementation of the
keybundle can add these automatically when needed.
Add a packet to the unhashed area
This method simply adds the packet to the unhashed area, without checking
if a packet with the same id already exists.
Build an immutable parameter specification
This method can be called more than once, which is useful in case you
want to create multiple signatures with almost the same parameters.
Build an immutable parameter specification
This method can be called more than once, which is useful in case you
want to create multiple signatures with almost the same parameters.
Returns the expiration date, or null of the keybundle does not expire
Note: this method assumes that all self signed certificates in this
keybundle are correctly signed and not revoked.
Returns a URL of a document that describes the policy that the signature
was issued under
Corresponds with OpenPGP signature subpacket type 26:
'policy URL'.
Return an iterator over all principals contained within this bundle
The objects returned by the iterator will all be instances of
java.security.Principal
Returns an iterator over all subkeys contained within this bundle
The objects returned by the iterator will all be instances of
cryptix.openpgp.PGPPublicKey
Thrown when incorrect data is found in a PGP object and there is no recovery
possible in the sense that it is impossible to know where the next packet
starts.
Remove the packet in the hashed area with the given packetid
Note: if more than one packet with the given packetid exist in the hashed
area, then only one (the first one) will be removed.
Remove the packet in the unhashed area with the given packetid
Note: if more than one packet with the given packetid exist in the
unhashed area, then only one (the first one) will be removed.
Add or replace a packet into the unhashed area
If a packet with the same packetid already exists in the unhashed area
it is replaced by the given packet.
Updates the signature creation date packet to the current date and time
This method is simply a wrapper around setCreationDate, calling it with
the current date and time.
Updates the signature creation date packet to the current date and time
This method is simply a wrapper around setCreationDate, calling it with
the current date and time.