public interface ICMSEngine extends ISubsystem
The engine implementation is loaded by CMS at startup. It is responsible for starting up all the related subsystems.
Modifier and Type | Method and Description |
---|---|
boolean |
areRequestsDisabled()
Checks to ensure that all new incoming requests have been blocked.
|
byte[] |
AtoB(java.lang.String data)
Converts a MIME-64 encoded string into a BER-encoded byte array.
|
java.lang.String |
BtoA(byte[] data)
Converts a BER-encoded byte array into a MIME-64 encoded string.
|
netscape.security.util.ObjectIdentifier |
checkOID(java.lang.String attrName,
java.lang.String value)
Checks if the given OID is valid.
|
IArgBlock |
createArgBlock()
Creates argument block.
|
IArgBlock |
createArgBlock(java.util.Hashtable httpReq)
Creates argument block.
|
IArgBlock |
createArgBlock(java.lang.String realm,
java.util.Hashtable httpReq)
Creates argument block.
|
ICRLIssuingPointRecord |
createCRLIssuingPointRecord(java.lang.String id,
java.math.BigInteger crlNumber,
java.lang.Long crlSize,
java.util.Date thisUpdate,
java.util.Date nextUpdate)
Creates an issuing poing record.
|
IConfigStore |
createFileConfigStore(java.lang.String path)
Create configuration file.
|
IGeneralNameAsConstraintsConfig |
createGeneralNameAsConstraintsConfig(java.lang.String name,
IConfigStore config,
boolean isValueConfigured,
boolean isPolicyEnabled)
Created general name constraints configuration.
|
IGeneralNamesAsConstraintsConfig |
createGeneralNamesAsConstraintsConfig(java.lang.String name,
IConfigStore config,
boolean isValueConfigured,
boolean isPolicyEnabled)
Created general name constraints configuration.
|
IGeneralNamesConfig |
createGeneralNamesConfig(java.lang.String name,
IConfigStore config,
boolean isValueConfigured,
boolean isPolicyEnabled)
Created general names configuration.
|
IRepositoryRecord |
createRepositoryRecord()
Creates a repository record in the internal database.
|
ISubjAltNameConfig |
createSubjAltNameConfig(java.lang.String name,
IConfigStore config,
boolean isValueConfigured)
Creates subject alt name configuration.
|
void |
debug(byte[] data)
Puts data of an byte array into the debug file.
|
void |
debug(int level,
java.lang.String msg)
Puts a message into the debug file.
|
void |
debug(java.lang.String msg)
Puts a message into the debug file.
|
void |
debug(java.lang.Throwable e)
Puts an exception into the debug file.
|
boolean |
debugOn()
Checks if the debug mode is on or not.
|
void |
debugStackTrace()
Puts the current stack trace in the debug file.
|
void |
disableRequests()
Blocks all new incoming requests.
|
void |
forceShutdown()
Performs graceful shutdown of CMS.
|
netscape.security.x509.GeneralName |
form_GeneralName(java.lang.String generalNameChoice,
java.lang.String value)
Creates a general name.
|
netscape.security.x509.GeneralName |
form_GeneralNameAsConstraints(java.lang.String generalNameChoice,
java.lang.String value)
Creates a general name constraints.
|
java.lang.String |
getAdminHost()
Retrieves the host name of the server's administration service.
|
java.lang.String |
getAdminIP()
Retrieves the IP address of the server's administration service.
|
java.lang.String |
getAdminPort()
Retrieves the port number of the server's administration service.
|
java.lang.String |
getAgentHost()
Retrieves the host name of the server's agent service.
|
java.lang.String |
getAgentIP()
Retrieves the IP address of the server's agent service.
|
java.lang.String |
getAgentPort()
Retrieves the port number of the server's agent service.
|
netscape.ldap.LDAPConnection |
getBoundConnection(java.lang.String host,
int port,
int version,
netscape.ldap.LDAPSSLSocketFactoryExt fac,
java.lang.String bindDN,
java.lang.String bindPW) |
org.mozilla.jss.CryptoManager.CertificateUsage |
getCertificateUsage(java.lang.String certusage)
get the CertificateUsage as defined in JSS CryptoManager
|
ICertPrettyPrint |
getCertPrettyPrint(java.security.cert.X509Certificate cert)
Retrieves the certificate pretty print handler.
|
ICommandQueue |
getCommandQueue()
Retrieves command queue
|
java.lang.String |
getConfigSDSessionId() |
ICRLPrettyPrint |
getCRLCachePrettyPrint(ICRLIssuingPoint ip)
Retrieves the CRL cache pretty print handler.
|
java.lang.String |
getCRLIssuingPointRecordName()
Retrieves the default CRL issuing point record name.
|
ICRLPrettyPrint |
getCRLPrettyPrint(java.security.cert.X509CRL crl)
Retrieves the CRL pretty print handler.
|
int |
getCSState() |
java.util.Date |
getCurrentDate()
Returns a server wide system time.
|
netscape.security.x509.X509CertInfo |
getDefaultX509CertInfo()
Retrieves the default X.509 certificate template.
|
java.lang.String |
getEEClientAuthSSLPort()
Retrieves the port number of the server's client auth secure end entity service.
|
java.lang.String |
getEEHost()
Retrieves the host name of the server's secure end entity service.
|
java.lang.String |
getEENonSSLHost()
Retrieves the host name of the server's non-secure end entity service.
|
java.lang.String |
getEENonSSLIP()
Retrieves the IP address of the server's non-secure end entity service.
|
java.lang.String |
getEENonSSLPort()
Retrieves the port number of the server's non-secure end entity service.
|
java.lang.String |
getEESSLHost()
Retrieves the host name of the server's secure end entity service.
|
java.lang.String |
getEESSLIP()
Retrieves the IP address of the server's secure end entity service.
|
java.lang.String |
getEESSLPort()
Retrieves the port number of the server's secure end entity service.
|
IEmailFormProcessor |
getEmailFormProcessor()
Retrieves the email form processor.
|
IEmailResolverKeys |
getEmailResolverKeys()
Retrieves the email key resolver.
|
IEmailTemplate |
getEmailTemplate(java.lang.String path)
Retrieves the email form template.
|
java.lang.String |
getEncodedCert(java.security.cert.X509Certificate cert)
Retrieves the certifcate in MIME-64 encoded format
with header and footer.
|
IExtPrettyPrint |
getExtPrettyPrint(netscape.security.x509.Extension e,
int indent)
Retrieves the extension pretty print handler.
|
java.lang.String |
getFingerPrint(java.security.cert.Certificate cert)
Returns the finger print of the given certificate.
|
java.lang.String |
getFingerPrints(byte[] certDer) |
java.lang.String |
getFingerPrints(java.security.cert.Certificate cert)
Returns the finger print of the given certificate.
|
void |
getGeneralNameConfigDefaultParams(java.lang.String name,
boolean isValueConfigured,
java.util.Vector params)
Retrieves default general name configuration.
|
void |
getGeneralNameConfigExtendedPluginInfo(java.lang.String name,
boolean isValueConfigured,
java.util.Vector info)
Retrieves extended plugin info for general name configuration.
|
void |
getGeneralNamesConfigDefaultParams(java.lang.String name,
boolean isValueConfigured,
java.util.Vector params)
Retrieves default general names configuration.
|
void |
getGeneralNamesConfigExtendedPluginInfo(java.lang.String name,
boolean isValueConfigured,
java.util.Vector info)
Retrieves extended plugin info for general name configuration.
|
IHttpConnection |
getHttpConnection(IRemoteAuthority authority,
com.netscape.cmsutil.net.ISocketFactory factory)
Retrieves the HTTP Connection for use with connector.
|
IHttpConnection |
getHttpConnection(IRemoteAuthority authority,
com.netscape.cmsutil.net.ISocketFactory factory,
int timeout)
Retrieves the HTTP Connection for use with connector.
|
IPKIMessage |
getHttpPKIMessage()
Creates a HTTP PKI Message that can be sent to a remote
authority.
|
IRequestEncoder |
getHttpRequestEncoder()
Creates a request encoder.
|
java.lang.String |
getId()
Gets this ID .
|
java.lang.String |
getInstanceDir()
Retrieves the instance roort path of this server.
|
ILdapConnFactory |
getLdapAnonConnFactory()
Retrieves the LDAP connection factory.
|
ILdapAuthInfo |
getLdapAuthInfo()
Creates a LDAP Auth Info object.
|
ILdapConnFactory |
getLdapBoundConnFactory()
Retrieves the LDAP connection factory.
|
ILdapConnInfo |
getLdapConnInfo(IConfigStore config)
Retrieves the ldap connection information from the configuration
store.
|
netscape.ldap.LDAPSSLSocketFactoryExt |
getLdapJssSSLSocketFactory()
Creates a LDAP SSL socket.
|
netscape.ldap.LDAPSSLSocketFactoryExt |
getLdapJssSSLSocketFactory(java.lang.String certNickname)
Creates a LDAP SSL socket with the given nickname.
|
ILogger |
getLogger()
Returns the logger of the current server.
|
java.lang.String |
getLogMessage(java.lang.String msgID)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String[] p)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5,
java.lang.String p6)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5,
java.lang.String p6,
java.lang.String p7)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5,
java.lang.String p6,
java.lang.String p7,
java.lang.String p8)
Retrieves the centralized log message from LogMessages.properties.
|
java.lang.String |
getLogMessage(java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5,
java.lang.String p6,
java.lang.String p7,
java.lang.String p8,
java.lang.String p9)
Retrieves the centralized log message from LogMessages.properties.
|
IMailNotification |
getMailNotification()
Retrieves the email notification handler.
|
org.mozilla.jss.util.PasswordCallback |
getPasswordCallback()
Retrieves the password callback.
|
IPasswordCheck |
getPasswordChecker()
Retrieves the password check.
|
com.netscape.cmsutil.password.IPasswordStore |
getPasswordStore() |
int |
getpid()
Retrieves the process id of this server.
|
byte[] |
getPKCS7(java.util.Locale locale,
IRequest req) |
IPrettyPrintFormat |
getPrettyPrintFormat(java.lang.String delimiter)
Retrieves the certificate pretty print handler.
|
IEmailResolver |
getReqCertSANameEmailResolver()
Retrieves the email resolver that checks for subjectAlternateName.
|
IResender |
getResender(IAuthority authority,
java.lang.String nickname,
IRemoteAuthority remote,
int interval)
Retrieves the request sender for use with connector.
|
ISecurityDomainSessionTable |
getSecurityDomainSessionTable() |
java.lang.String |
getServerCertNickname()
Retrieves the nickname of the server's server certificate.
|
ILogger |
getSignedAuditLogger()
Returns the signed audit logger of the current server.
|
long |
getStartupTime()
Retrieves time server started up.
|
void |
getSubjAltNameConfigDefaultParams(java.lang.String name,
java.util.Vector params)
Get default parameters for subject alt name configuration.
|
void |
getSubjAltNameConfigExtendedPluginInfo(java.lang.String name,
java.util.Vector params)
Get extended plugin info for subject alt name configuration.
|
ISubsystem |
getSubsystem(java.lang.String name)
Retrieves the registered subsytem with the given name.
|
java.util.Enumeration |
getSubsystemNames()
Returns the names of all the registered subsystems.
|
java.util.Enumeration |
getSubsystems()
Returns all the registered subsystems.
|
java.lang.String |
getUserMessage(java.util.Locale locale,
java.lang.String msgID)
Retrieves the localized user message from UserMessages.properties.
|
java.lang.String |
getUserMessage(java.util.Locale locale,
java.lang.String msgID,
java.lang.String p1)
Retrieves the localized user message from UserMessages.properties.
|
java.lang.String |
getUserMessage(java.util.Locale locale,
java.lang.String msgID,
java.lang.String[] p)
Retrieves the localized user message from UserMessages.properties.
|
java.lang.String |
getUserMessage(java.util.Locale locale,
java.lang.String msgID,
java.lang.String p1,
java.lang.String p2)
Retrieves the localized user message from UserMessages.properties.
|
java.lang.String |
getUserMessage(java.util.Locale locale,
java.lang.String msgID,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3)
Retrieves the localized user message from UserMessages.properties.
|
boolean |
isEncryptionCert(java.security.cert.X509Certificate cert)
Checks if the given certificate is an encryption certificate.
|
boolean |
isInRunningState()
Is the server in running state.
|
boolean |
isPreOpMode() |
boolean |
isRevoked(java.security.cert.X509Certificate[] certificates)
Checks against the local certificate repository to see
if the certificates are revoked.
|
boolean |
isRunningMode() |
boolean |
isSigningCert(java.security.cert.X509Certificate cert)
Checks if the given certificate is a signing certificate.
|
IACL |
parseACL(java.lang.String resACLs)
Parse ACL resource attributes
|
void |
putPasswordCache(java.lang.String tag,
java.lang.String pw)
Puts a password entry into the single-sign on cache.
|
void |
reinit(java.lang.String id) |
void |
setConfigSDSessionId(java.lang.String id) |
void |
setCSState(int mode) |
void |
setId(java.lang.String id)
Sets the identifier of this subsystem.
|
void |
setListOfVerifiedCerts(int size,
long interval,
long unknownStateInterval)
Sets list of verified certificates
|
void |
setServerCertNickname(java.lang.String newName)
Sets the nickname of the server's server certificate.
|
void |
setServerCertNickname(java.lang.String tokenName,
java.lang.String nickName)
Sets the nickname of the server's server certificate.
|
void |
terminateRequests()
Terminates all requests that are currently in process.
|
void |
traceHashKey(java.lang.String type,
java.lang.String key)
Dump name/value pair debug information to debug file
|
void |
traceHashKey(java.lang.String type,
java.lang.String key,
java.lang.String val) |
void |
traceHashKey(java.lang.String type,
java.lang.String key,
java.lang.String val,
java.lang.String def) |
boolean |
verifySystemCertByNickname(java.lang.String nickname,
java.lang.String certificateUsage)
Verifies a system certificate by its nickname
|
boolean |
verifySystemCertByTag(java.lang.String tag)
Verifies a system certificate by its tag name
as defined in
|
boolean |
verifySystemCerts()
Verifies all system certificates
|
getConfigStore, init, shutdown, startup
java.lang.String getId()
getId
in interface ISubsystem
void setId(java.lang.String id) throws EBaseException
setId
in interface ISubsystem
id
- CMS engine identifierEBaseException
- failed to set idint getpid()
void reinit(java.lang.String id) throws EBaseException
EBaseException
int getCSState()
void setCSState(int mode)
boolean isPreOpMode()
boolean isRunningMode()
java.lang.String getInstanceDir()
java.util.Date getCurrentDate()
long getStartupTime()
boolean isInRunningState()
java.util.Enumeration getSubsystemNames()
java.util.Enumeration getSubsystems()
ISubsystem getSubsystem(java.lang.String name)
name
- subsystem nameILogger getLogger()
ILogger getSignedAuditLogger()
void debug(byte[] data)
data
- byte array to be recorded in the debug filevoid debug(java.lang.String msg)
msg
- debugging messagevoid debug(int level, java.lang.String msg)
level
- 0-10msg
- debugging messagevoid debug(java.lang.Throwable e)
e
- exceptionboolean debugOn()
void debugStackTrace()
void traceHashKey(java.lang.String type, java.lang.String key)
void traceHashKey(java.lang.String type, java.lang.String key, java.lang.String val)
void traceHashKey(java.lang.String type, java.lang.String key, java.lang.String val, java.lang.String def)
byte[] getPKCS7(java.util.Locale locale, IRequest req)
java.lang.String getUserMessage(java.util.Locale locale, java.lang.String msgID)
locale
- end-user localemsgID
- message id defined in UserMessages.propertiesjava.lang.String getUserMessage(java.util.Locale locale, java.lang.String msgID, java.lang.String[] p)
locale
- end-user localemsgID
- message id defined in UserMessages.propertiesp
- an array of parametersjava.lang.String getUserMessage(java.util.Locale locale, java.lang.String msgID, java.lang.String p1)
locale
- end-user localemsgID
- message id defined in UserMessages.propertiesp1
- 1st parameterjava.lang.String getUserMessage(java.util.Locale locale, java.lang.String msgID, java.lang.String p1, java.lang.String p2)
locale
- end-user localemsgID
- message id defined in UserMessages.propertiesp1
- 1st parameterp2
- 2nd parameterjava.lang.String getUserMessage(java.util.Locale locale, java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3)
locale
- end-user localemsgID
- message id defined in UserMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterjava.lang.String getLogMessage(java.lang.String msgID)
msgID
- message id defined in LogMessages.propertiesjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String[] p)
msgID
- message id defined in LogMessages.propertiesp
- an array of parametersjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterp5
- 5th parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5, java.lang.String p6)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterp5
- 5th parameterp6
- 6th parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5, java.lang.String p6, java.lang.String p7)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterp5
- 5th parameterp6
- 6th parameterp7
- 7th parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5, java.lang.String p6, java.lang.String p7, java.lang.String p8)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterp5
- 5th parameterp6
- 6th parameterp7
- 7th parameterp8
- 8th parameterjava.lang.String getLogMessage(java.lang.String msgID, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5, java.lang.String p6, java.lang.String p7, java.lang.String p8, java.lang.String p9)
msgID
- message id defined in LogMessages.propertiesp1
- 1st parameterp2
- 2nd parameterp3
- 3rd parameterp4
- 4th parameterp5
- 5th parameterp6
- 6th parameterp7
- 7th parameterp8
- 8th parameterp9
- 9th parameterIACL parseACL(java.lang.String resACLs) throws EACLsException
resACLs
- same format as the resourceACLs attribute:
: : ( )
EACLsException
- ACL related parsing errors for resACLsICRLIssuingPointRecord createCRLIssuingPointRecord(java.lang.String id, java.math.BigInteger crlNumber, java.lang.Long crlSize, java.util.Date thisUpdate, java.util.Date nextUpdate)
java.lang.String getCRLIssuingPointRecordName()
java.lang.String getFingerPrint(java.security.cert.Certificate cert) throws java.security.cert.CertificateEncodingException, java.security.NoSuchAlgorithmException
cert
- certificatejava.security.cert.CertificateEncodingException
java.security.NoSuchAlgorithmException
java.lang.String getFingerPrints(java.security.cert.Certificate cert) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateEncodingException
cert
- certificatejava.security.NoSuchAlgorithmException
java.security.cert.CertificateEncodingException
java.lang.String getFingerPrints(byte[] certDer) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
IRepositoryRecord createRepositoryRecord()
IPKIMessage getHttpPKIMessage()
IRequestEncoder getHttpRequestEncoder()
java.lang.String BtoA(byte[] data)
data
- data in byte array formatbyte[] AtoB(java.lang.String data)
data
- base-64 encoding for the datajava.lang.String getEncodedCert(java.security.cert.X509Certificate cert)
cert
- certificateIPrettyPrintFormat getPrettyPrintFormat(java.lang.String delimiter)
delimiter
- delimiterIExtPrettyPrint getExtPrettyPrint(netscape.security.x509.Extension e, int indent)
e
- extensionindent
- indentationICertPrettyPrint getCertPrettyPrint(java.security.cert.X509Certificate cert)
cert
- certificateICRLPrettyPrint getCRLPrettyPrint(java.security.cert.X509CRL crl)
crl
- CRLICRLPrettyPrint getCRLCachePrettyPrint(ICRLIssuingPoint ip)
ip
- CRL issuing pointILdapConnInfo getLdapConnInfo(IConfigStore config) throws EBaseException, ELdapException
config
- configuration parameters of ldap connectionEBaseException
ELdapException
netscape.ldap.LDAPSSLSocketFactoryExt getLdapJssSSLSocketFactory(java.lang.String certNickname)
certNickname
- nickname of client certificatenetscape.ldap.LDAPSSLSocketFactoryExt getLdapJssSSLSocketFactory()
ILdapAuthInfo getLdapAuthInfo()
ILdapConnFactory getLdapBoundConnFactory() throws ELdapException
ELdapException
netscape.ldap.LDAPConnection getBoundConnection(java.lang.String host, int port, int version, netscape.ldap.LDAPSSLSocketFactoryExt fac, java.lang.String bindDN, java.lang.String bindPW) throws netscape.ldap.LDAPException
netscape.ldap.LDAPException
ILdapConnFactory getLdapAnonConnFactory() throws ELdapException
ELdapException
IPasswordCheck getPasswordChecker()
void putPasswordCache(java.lang.String tag, java.lang.String pw)
tag
- password tagpw
- passwordorg.mozilla.jss.util.PasswordCallback getPasswordCallback()
java.lang.String getServerCertNickname()
void setServerCertNickname(java.lang.String tokenName, java.lang.String nickName)
tokenName
- name of token where the certificate is locatednickName
- name of server certificatevoid setServerCertNickname(java.lang.String newName)
newName
- new nickname of server certificatejava.lang.String getEEHost()
java.lang.String getEENonSSLHost()
java.lang.String getEENonSSLIP()
java.lang.String getEENonSSLPort()
java.lang.String getEESSLHost()
java.lang.String getEESSLIP()
java.lang.String getEESSLPort()
java.lang.String getEEClientAuthSSLPort()
java.lang.String getAgentHost()
java.lang.String getAgentIP()
java.lang.String getAgentPort()
java.lang.String getAdminHost()
java.lang.String getAdminIP()
java.lang.String getAdminPort()
boolean verifySystemCerts()
boolean verifySystemCertByTag(java.lang.String tag)
boolean verifySystemCertByNickname(java.lang.String nickname, java.lang.String certificateUsage)
org.mozilla.jss.CryptoManager.CertificateUsage getCertificateUsage(java.lang.String certusage)
boolean isSigningCert(java.security.cert.X509Certificate cert)
cert
- certificateboolean isEncryptionCert(java.security.cert.X509Certificate cert)
cert
- certificatenetscape.security.x509.X509CertInfo getDefaultX509CertInfo()
IEmailFormProcessor getEmailFormProcessor()
IEmailTemplate getEmailTemplate(java.lang.String path)
IMailNotification getMailNotification()
IEmailResolverKeys getEmailResolverKeys()
IEmailResolver getReqCertSANameEmailResolver()
netscape.security.util.ObjectIdentifier checkOID(java.lang.String attrName, java.lang.String value) throws EBaseException
attrName
- attribute namevalue
- attribute valueEBaseException
netscape.security.x509.GeneralName form_GeneralNameAsConstraints(java.lang.String generalNameChoice, java.lang.String value) throws EBaseException
generalNameChoice
- type of general namevalue
- general name stringEBaseException
- failed to create general name constraintnetscape.security.x509.GeneralName form_GeneralName(java.lang.String generalNameChoice, java.lang.String value) throws EBaseException
generalNameChoice
- type of general namevalue
- general name stringEBaseException
- failed to create general namevoid getGeneralNameConfigDefaultParams(java.lang.String name, boolean isValueConfigured, java.util.Vector params)
name
- configuration nameisValueConfigured
- true if value is configuredparams
- configuration parametersEBaseException
- failed to create subject alt name configurationvoid getGeneralNamesConfigDefaultParams(java.lang.String name, boolean isValueConfigured, java.util.Vector params)
name
- configuration nameisValueConfigured
- true if value is configuredparams
- configuration parametersEBaseException
- failed to create subject alt name configurationvoid getGeneralNameConfigExtendedPluginInfo(java.lang.String name, boolean isValueConfigured, java.util.Vector info)
name
- configuration nameisValueConfigured
- true if value is configuredinfo
- configuration parametersEBaseException
- failed to create subject alt name configurationvoid getGeneralNamesConfigExtendedPluginInfo(java.lang.String name, boolean isValueConfigured, java.util.Vector info)
name
- configuration nameisValueConfigured
- true if value is configuredinfo
- configuration parametersEBaseException
- failed to create subject alt name configurationIGeneralNamesConfig createGeneralNamesConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException
name
- configuration nameconfig
- configuration storeisValueConfigured
- true if value is configuredisPolicyEnabled
- true if policy is enabledEBaseException
- failed to create subject alt name configurationIGeneralNameAsConstraintsConfig createGeneralNameAsConstraintsConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException
name
- configuration nameconfig
- configuration storeisValueConfigured
- true if value is configuredisPolicyEnabled
- true if policy is enabledEBaseException
- failed to create subject alt name configurationIGeneralNamesAsConstraintsConfig createGeneralNamesAsConstraintsConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException
name
- configuration nameconfig
- configuration storeisValueConfigured
- true if value is configuredisPolicyEnabled
- true if policy is enabledEBaseException
- failed to create subject alt name configurationvoid getSubjAltNameConfigDefaultParams(java.lang.String name, java.util.Vector params)
name
- configuration nameparams
- configuration parametersvoid getSubjAltNameConfigExtendedPluginInfo(java.lang.String name, java.util.Vector params)
name
- configuration nameparams
- configuration parametersISubjAltNameConfig createSubjAltNameConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured) throws EBaseException
name
- configuration nameconfig
- configuration storeisValueConfigured
- true if value is configuredEBaseException
- failed to create subject alt name configurationIHttpConnection getHttpConnection(IRemoteAuthority authority, com.netscape.cmsutil.net.ISocketFactory factory)
authority
- remote authorityfactory
- socket factoryIHttpConnection getHttpConnection(IRemoteAuthority authority, com.netscape.cmsutil.net.ISocketFactory factory, int timeout)
authority
- remote authorityfactory
- socket factorytimeout
- return error if connection cannot be established within
the timeout periodIResender getResender(IAuthority authority, java.lang.String nickname, IRemoteAuthority remote, int interval)
authority
- local authoritynickname
- nickname of the client certificateremote
- remote authorityinterval
- timeout intervalICommandQueue getCommandQueue()
void disableRequests()
void terminateRequests()
boolean areRequestsDisabled()
IConfigStore createFileConfigStore(java.lang.String path) throws EBaseException
path
- configuration pathEBaseException
- failed to create fileIArgBlock createArgBlock()
IArgBlock createArgBlock(java.lang.String realm, java.util.Hashtable httpReq)
IArgBlock createArgBlock(java.util.Hashtable httpReq)
boolean isRevoked(java.security.cert.X509Certificate[] certificates)
certificates
- certificatesvoid setListOfVerifiedCerts(int size, long interval, long unknownStateInterval)
size
- size of verified certificates listinterval
- interval in which certificate is not recheck
against local certificate repositoryunknownStateInterval
- interval in which certificate
may not recheck against local certificate repositoryvoid forceShutdown()
com.netscape.cmsutil.password.IPasswordStore getPasswordStore()
ISecurityDomainSessionTable getSecurityDomainSessionTable()
void setConfigSDSessionId(java.lang.String id)
java.lang.String getConfigSDSessionId()