gnu.crypto.keyring

Class MaskableEnvelopeEntry

public abstract class MaskableEnvelopeEntry extends EnvelopeEntry

An envelope entry that can be "masked" -- placed in a state where the envelope's contents cannot be accessed, due to the envelope not being fully decoded, for example.
Field Summary
protected booleanmasked
The masked state.
Constructor Summary
MaskableEnvelopeEntry(int type, Properties properties)
protected MaskableEnvelopeEntry(int type)
Method Summary
voidadd(Entry entry)
booleancontainsEntry(Entry entry)
Listget(String alias)
ListgetEntries()
booleanisMasked()
Gets the masked state of this object.
booleanremove(Entry entry)
voidremove(String alias)
protected voidsetMasked(boolean masked)
Sets the masked state to the specified value.

Field Detail

masked

protected boolean masked
The masked state.

Constructor Detail

MaskableEnvelopeEntry

public MaskableEnvelopeEntry(int type, Properties properties)

MaskableEnvelopeEntry

protected MaskableEnvelopeEntry(int type)

Method Detail

add

public void add(Entry entry)

containsEntry

public boolean containsEntry(Entry entry)

get

public List get(String alias)

getEntries

public List getEntries()

isMasked

public boolean isMasked()
Gets the masked state of this object. Certain operations on this object will fail if it is masked.

Returns: The current masked state.

remove

public boolean remove(Entry entry)

remove

public void remove(String alias)

setMasked

protected final void setMasked(boolean masked)
Sets the masked state to the specified value.

Parameters: masked The new masked state.

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.