All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.seccomm.SecComPointAddress

java.lang.Object
   |
   +----semper.comm.ComPointAddress
           |
           +----semper.seccomm.SecComPointAddress

public class SecComPointAddress
extends ComPointAddress
implements Cloneable
This class provides secure addresses. A SecComPointAddress either consists of security attributes combined with an address, or simply of security attributes (e.g. for responder SecComPoints).

Version:
$Revision: 1.9 $ $Date: 1998/01/15 12:23:09 $

Variable Index

 o _secAttributes

Constructor Index

 o SecComPointAddress()
We don't want that anybody can create an empty SecComPointAddress.
 o SecComPointAddress(AttributeSet)
Creates an address with attributes but no other information.
 o SecComPointAddress(AttributeSet, SecComPointAddress)
Creates an address based on attributes and an existing address.

Method Index

 o clone()
Clone.
 o getSecAttributes()
Gives all security attributes in this address.
 o setSecAttributes(AttributeSet)
Sets all security attributes in this address.
 o toString()
Creates an string representation of the address.

Variables

 o _secAttributes
 protected AttributeSet _secAttributes

Constructors

 o SecComPointAddress
 protected SecComPointAddress()
We don't want that anybody can create an empty SecComPointAddress.

 o SecComPointAddress
 public SecComPointAddress(AttributeSet secAttributes)
Creates an address with attributes but no other information.

Parameters:
secAttributes - A vector with SecAttributes
 o SecComPointAddress
 public SecComPointAddress(AttributeSet secAttributes,
                           SecComPointAddress secAddress)
Creates an address based on attributes and an existing address.

Parameters:
secAttributes - A vector with SecAttributes
secAddress - An existing SecComPointAddress. Currently ignored!

Methods

 o getSecAttributes
 public AttributeSet getSecAttributes()
Gives all security attributes in this address.

Returns:
A Vector with all security attributes.
 o setSecAttributes
 public void setSecAttributes(AttributeSet secAttributes)
Sets all security attributes in this address.

Parameters:
A - Vector with all security attributes.
 o toString
 public String toString()
Creates an string representation of the address.

Overrides:
toString in class ComPointAddress
 o clone
 public Object clone() throws CloneNotSupportedException
Clone. Inorder to allow other classes to clone us, we have to redeclare clone() as public. Sigh.

Throws: CloneNotSupportedException
When the superclass does not want to clone us. This should never happen.
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index