gnu.crypto.keyring
public abstract class EnvelopeEntry extends Entry
Field Summary | |
---|---|
protected EnvelopeEntry | containingEnvelope The envelope that contains this one (if any). |
protected List | entries The contained entries. |
Constructor Summary | |
---|---|
EnvelopeEntry(int type, Properties properties) | |
protected | EnvelopeEntry(int type) |
Method Summary | |
---|---|
void | add(Entry entry)
Adds an entry to this envelope.
|
boolean | containsAlias(String alias)
Tests if this envelope contains a primitive entry with the
given alias.
|
boolean | containsEntry(Entry entry)
Tests if this envelope contains the given entry.
|
protected void | decodeEnvelope(DataInputStream in) |
protected void | encodePayload() |
List | get(String alias)
Gets all primitive entries that have the given alias. |
String | getAliasList()
Returns the list of all aliases contained by this envelope,
separated by a semicolon (';').
|
List | getEntries()
Returns a copy of all entries this envelope contains.
|
boolean | remove(Entry entry)
Removes the specified entry.
|
void | remove(String alias)
Removes all primitive entries that have the specified alias.
|
protected void | setContainingEnvelope(EnvelopeEntry e) |
Parameters: entry The entry to add.
Parameters: alias The alias to test.
Returns: True if this envelope (or one of the contained envelopes) contains a primitive entry with the given alias.
Parameters: entry The entry to test.
Returns: True if this envelope contains the given entry.
Parameters: alias The alias of the entries to get.
Returns: A list of all primitive entries that have the given alias.
Returns: The list of aliases.
Returns: All contained entries.
Parameters: entry The entry.
Returns: True if an entry was removed.
Parameters: alias The alias of the entries to remove.