SOMA.security.infrastructure
Class InfrastructureAddress

java.lang.Object
  extended bySOMA.security.infrastructure.InfrastructureAddress
All Implemented Interfaces:
InfrastructureConst, NetAddress, java.io.Serializable

public class InfrastructureAddress
extends java.lang.Object
implements NetAddress, InfrastructureConst, java.io.Serializable

See Also:
Serialized Form

Field Summary
static int CREATE_PROFILE
           
(package private)  com.entrust.x509.directory.JNDIDirectory directory
           
(package private)  javax.naming.directory.DirContext DirectoryContext
           
(package private)  java.lang.String directoryIP
           
(package private)  int directoryPort
           
(package private)  java.lang.String managerIP
           
(package private)  int managerPort
           
(package private)  boolean need_ciphers_init
           
 boolean onLine
           
static int RECOVER_PROFILE
           
static java.lang.String SearchExpression
           
 
Fields inherited from interface SOMA.security.infrastructure.NetAddress
CA_IP, CA_SearchBase, DEFAULT_CA_PORT, DEFAULT_LDAP_PORT, DIR_IP
 
Constructor Summary
InfrastructureAddress()
          Creates an new objects that rappresents an Entrust PKI
InfrastructureAddress(java.lang.String caIP, java.lang.String dirIP)
          Creates an new objects that rappresents an Entrust PKI
InfrastructureAddress(java.lang.String caIP, java.lang.String dirIP, boolean onLine)
          Creates an new objects that rappresents an Entrust PKI
 
Method Summary
 void checkCiphers()
          Checks if there is a need to init the ciphers.
 com.entrust.x509.directory.JNDIDirectory connectDirectory()
           
 StringList DirSearch(java.lang.String searchBase, java.lang.String searchExpr)
           
 X509CRL[] getCRL(java.lang.String distributionPoint, boolean wantARL)
           
 com.entrust.x509.directory.JNDIDirectory getDirectory()
           
 javax.naming.directory.DirContext getDirectoryContext()
           
 java.lang.String getDirectoryIP()
          Returns the ip address of the entrust CA
 int getDirectoryPort()
          Returns the port number of the directory
 java.lang.String getManagerIP()
          Returns the ip address of the entrust CA
 int getManagerPort()
          Returns the port number of the entrust CA
 boolean getOnLine()
          This method return onLine state
 EntrustManagerTransport getTransport()
           
 void setDirectoryIP(java.lang.String dirIP)
          This method sets the Directore IP
 void setDirectoryPort(int dirPort)
          This method sets the directory port number
 void setManagerIP(java.lang.String caIP)
          This method sets the CA IP
 void setManagerPort(int caPort)
          This method sets the CA port number
 void setOnLine(boolean onLine)
          This method sets the onLine parameter
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

directory

com.entrust.x509.directory.JNDIDirectory directory

DirectoryContext

javax.naming.directory.DirContext DirectoryContext

onLine

public boolean onLine

managerIP

java.lang.String managerIP

managerPort

int managerPort

directoryIP

java.lang.String directoryIP

directoryPort

int directoryPort

need_ciphers_init

boolean need_ciphers_init

RECOVER_PROFILE

public static final int RECOVER_PROFILE
See Also:
Constant Field Values

CREATE_PROFILE

public static final int CREATE_PROFILE
See Also:
Constant Field Values

SearchExpression

public static final java.lang.String SearchExpression
See Also:
Constant Field Values
Constructor Detail

InfrastructureAddress

public InfrastructureAddress(java.lang.String caIP,
                             java.lang.String dirIP)
Creates an new objects that rappresents an Entrust PKI

Parameters:
caIP - the ip address or hostname of the entrust authority,
dirIP - the ip address or hostname of the ldap directory

InfrastructureAddress

public InfrastructureAddress(java.lang.String caIP,
                             java.lang.String dirIP,
                             boolean onLine)
Creates an new objects that rappresents an Entrust PKI

Parameters:
caIP - the ip address or hostname of the entrust authority,
dirIP - the ip address or hostname of the ldap directory
onLine - the directory is on line.

InfrastructureAddress

public InfrastructureAddress()
Creates an new objects that rappresents an Entrust PKI

Method Detail

checkCiphers

public void checkCiphers()
Checks if there is a need to init the ciphers.


getOnLine

public boolean getOnLine()
This method return onLine state


setOnLine

public void setOnLine(boolean onLine)
This method sets the onLine parameter

Parameters:
onLine - it's the new value

setManagerIP

public void setManagerIP(java.lang.String caIP)
This method sets the CA IP

Parameters:
caIP - it's the ip address of the CA

getManagerIP

public java.lang.String getManagerIP()
Returns the ip address of the entrust CA

Returns:
the ip address of the antrust CA

setManagerPort

public void setManagerPort(int caPort)
This method sets the CA port number

Parameters:
caPort - it's the port number of the CA

getManagerPort

public int getManagerPort()
Returns the port number of the entrust CA

Returns:
the port address of the antrust CA

setDirectoryIP

public void setDirectoryIP(java.lang.String dirIP)
This method sets the Directore IP


getDirectoryIP

public java.lang.String getDirectoryIP()
Returns the ip address of the entrust CA

Returns:
the ip address of the antrust CA

setDirectoryPort

public void setDirectoryPort(int dirPort)
This method sets the directory port number


getDirectoryPort

public int getDirectoryPort()
Returns the port number of the directory

Returns:
the port address of the directory

getTransport

public EntrustManagerTransport getTransport()

getDirectoryContext

public javax.naming.directory.DirContext getDirectoryContext()

connectDirectory

public com.entrust.x509.directory.JNDIDirectory connectDirectory()

getDirectory

public com.entrust.x509.directory.JNDIDirectory getDirectory()

getCRL

public X509CRL[] getCRL(java.lang.String distributionPoint,
                        boolean wantARL)
                 throws java.security.cert.CRLException,
                        X509Exception
Throws:
java.security.cert.CRLException
X509Exception

DirSearch

public StringList DirSearch(java.lang.String searchBase,
                            java.lang.String searchExpr)

toString

public java.lang.String toString()


Copyright © 2004 Luca Foschini