gnu.crypto.keyring
Class MaskableEnvelopeEntry
public abstract class MaskableEnvelopeEntry
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.
protected boolean | masked - The masked state.
|
add , containsAlias , containsEntry , decodeEnvelope , encodePayload , get , getAliasList , getEntries , remove , remove , setContainingEnvelope |
masked
protected boolean masked
The masked state.
MaskableEnvelopeEntry
protected MaskableEnvelopeEntry()
Default constructor for use by subclasses.
MaskableEnvelopeEntry
public MaskableEnvelopeEntry(int type,
Properties properties)
Creates a new Entry.
type
- This entry's type.properties
- This entry's properties.
containsEntry
public boolean containsEntry(Entry entry)
- containsEntry in interface EnvelopeEntry
getEntries
public List getEntries()
- getEntries in interface EnvelopeEntry
isMasked
public boolean isMasked()
Gets the masked state of this object. Certain operations on this object
will fail if it is masked.
- The current masked state.
remove
public void remove(String alias)
- remove in interface EnvelopeEntry
setMasked
protected final void setMasked(boolean masked)
Sets the masked state to the specified value.
masked
- The new masked state.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.