This interface is used to expose the SSL attributes for all interfaces that are SSL enabled. More...
Public Member Functions | |
string | getAlias () |
Returns the certificate name/alias that this interface uses as its primary certificate More... | |
bool | getCertRequired () |
Returns whether this interface requires SSL client authentication or not. More... | |
string | getCRLFile () |
Returns the Certificate revocation list that the server uses. More... | |
string | getCRLValidationClassName () |
Any class that extends com.pcbsys.nirvana.server.api.nSSLCertficateValidator can be used by the server to perform CRL management. More... | |
string[] | getEnabledCiphers () |
Returns an array of strings which represent the current Ciphers enabled for use by this interface More... | |
string | getKeyStore () |
Returns the name of the keystore file that this interface uses to load the certificate from. More... | |
string | getPKCS11ConfigFile () |
Get the PKCS11 configuration file used by this SSL interface on the UM server. More... | |
string | getPKCS11NSSName () |
Get the PKCS11 NSS name that unique identifies the PKCS11 configuration on the UM server. More... | |
string | getProvider () |
Get the name of the JSSE provider used by this SSL interface More... | |
string | getRandomAlgorithm () |
Returns the SecureRandom algoritm used for this interface. More... | |
string | getRandomProvider () |
Returns the SecureRandom provider used by this interface. More... | |
string[] | getSupportedCiphers () |
Returns an array of ciphers this this interface can be configured for use by this interface. More... | |
string | getTrustStore () |
Returns the current truststore file that this interface uses to validate the client certificate chain against. More... | |
void | setAlias (string alias) |
Sets the certificate name/alias that this interface will use to select its certificate from a keystore with multpiple entries. More... | |
void | setCertRequired (bool required) |
Specifies whether this interface requires SSL client authentication or not. More... | |
void | setCRLFile (string fileName) |
Sets the Certificate revocation list file name that the interface should use to check the incomming ssl connections. More... | |
void | setCRLValidationClassName (string className) |
Any class that extends com.pcbsys.nirvana.server.api.nSSLCertficateValidator can be used by the server to perform CRL management. More... | |
void | setEnabledCiphers (string[] ciphers) |
Specifies the names of the ciphers enabled for use by this interface. More... | |
void | setKeyStore (string keyStore) |
Sets the keystore file that this interface uses to load the certificate from More... | |
void | setKeyStorePassword (string keyStorePassword) |
Sets the keystore password that this interface will use to access the keystore file specified. More... | |
void | setPKCS11ConfigFile (string location) |
Sets the name of the PKCS11 configuration used by this SSL interface on the UM server. More... | |
void | setPKCS11NSSName (string name) |
Sets the name of the PKCS11 NSS name that uniquely identifies the PKCS11 configuration on the UM server. More... | |
void | setPrivateKeyPassword (string password) |
Sets the private key password so that the key can be loaded from the key store More... | |
void | setProvider (string providerName) |
Sets the name of the JSSE provider to use for the interface More... | |
void | setRandomAlgorithm (string alg) |
Sets the SecureRandom algorithm to use for this interface More... | |
void | setRandomProvider (string prov) |
Sets the SecureRandom provider to use for this interface More... | |
void | setTrustStore (string trustStore) |
Sets the truststore file that this interface uses to validate the client certificate against. More... | |
void | setTrustStorePassword (string trustStorePassword) |
Changes the truststore's password that the server uses to access the trust store More... | |
This interface is used to expose the SSL attributes for all interfaces that are SSL enabled.
If a class implements this interface it means that they support the listed API's and that SSL is active.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getAlias | ( | ) |
Returns the certificate name/alias that this interface uses as its primary certificate
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
bool com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getCertRequired | ( | ) |
Returns whether this interface requires SSL client authentication or not.
If this is set to false then this interface allows anonymous connections using SSL. Otherwise the client must have and present a valid certificate chain during the SSL handshake.
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getCRLFile | ( | ) |
Returns the Certificate revocation list that the server uses.
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getCRLValidationClassName | ( | ) |
Any class that extends com.pcbsys.nirvana.server.api.nSSLCertficateValidator can be used by the server to perform CRL management.
The class name can be supplied per interface and then when a client connects a callout is issued to this class to validate the connection.
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string [] com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getEnabledCiphers | ( | ) |
Returns an array of strings which represent the current Ciphers enabled for use by this interface
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getKeyStore | ( | ) |
Returns the name of the keystore file that this interface uses to load the certificate from.
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getPKCS11ConfigFile | ( | ) |
Get the PKCS11 configuration file used by this SSL interface on the UM server.
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getPKCS11NSSName | ( | ) |
Get the PKCS11 NSS name that unique identifies the PKCS11 configuration on the UM server.
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getProvider | ( | ) |
Get the name of the JSSE provider used by this SSL interface
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getRandomAlgorithm | ( | ) |
Returns the SecureRandom algoritm used for this interface.
If it is null it uses the system default algorithm.
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getRandomProvider | ( | ) |
Returns the SecureRandom provider used by this interface.
If it is null it uses the system default provider.
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
string [] com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getSupportedCiphers | ( | ) |
Returns an array of ciphers this this interface can be configured for use by this interface.
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
string com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.getTrustStore | ( | ) |
Returns the current truststore file that this interface uses to validate the client certificate chain against.
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setAlias | ( | string | alias | ) |
Sets the certificate name/alias that this interface will use to select its certificate from a keystore with multpiple entries.
alias | the name/alias to use as a String |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setCertRequired | ( | bool | required | ) |
Specifies whether this interface requires SSL client authentication or not.
If this is set to false then this interface allows anonymous connections using SSL. Otherwise the client must have and present a valid certificate chain during the SSL handshake.
required | a boolean specifying if this interface will force client authentication |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setCRLFile | ( | string | fileName | ) |
Sets the Certificate revocation list file name that the interface should use to check the incomming ssl connections.
Is only used when client certificates are required.
fileName | the CRL file name that the interface uses |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setCRLValidationClassName | ( | string | className | ) |
Any class that extends com.pcbsys.nirvana.server.api.nSSLCertficateValidator can be used by the server to perform CRL management.
The class name can be supplied per interface and then when a client connects a callout is issued to this class to validate the connection.
className | the classname of the certificate validator to use within this interface |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setEnabledCiphers | ( | string[] | ciphers | ) |
Specifies the names of the ciphers enabled for use by this interface.
ciphers | a String[] of ciphers enabled for use by this interface |
nAdminIllegalArgumentException | if an empty or null array is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setKeyStore | ( | string | keyStore | ) |
Sets the keystore file that this interface uses to load the certificate from
keyStore | the new keystore name as a String |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setKeyStorePassword | ( | string | keyStorePassword | ) |
Sets the keystore password that this interface will use to access the keystore file specified.
keyStorePassword | the new password as a string |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setPKCS11ConfigFile | ( | string | location | ) |
Sets the name of the PKCS11 configuration used by this SSL interface on the UM server.
location | the location/path of the PKCS11 configuration file. |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setPKCS11NSSName | ( | string | name | ) |
Sets the name of the PKCS11 NSS name that uniquely identifies the PKCS11 configuration on the UM server.
name | The NSS name of the PKCS11 configuration file. |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setPrivateKeyPassword | ( | string | password | ) |
Sets the private key password so that the key can be loaded from the key store
password | for the private key as a String |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setProvider | ( | string | providerName | ) |
Sets the name of the JSSE provider to use for the interface
providerName | the name of the JSSE provider to use |
Implemented in com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface, and com.pcbsys.nirvana.nAdminAPI.nSSLInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setRandomAlgorithm | ( | string | alg | ) |
Sets the SecureRandom algorithm to use for this interface
alg | the name of the new SecureRandom algorithm to use |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setRandomProvider | ( | string | prov | ) |
Sets the SecureRandom provider to use for this interface
prov | the name of the new SecureRandom provider to use |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setTrustStore | ( | string | trustStore | ) |
Sets the truststore file that this interface uses to validate the client certificate against.
trustStore | the new truststore file to use |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.
void com.pcbsys.nirvana.nAdminAPI.nSSLInterfaceAPI.setTrustStorePassword | ( | string | trustStorePassword | ) |
Changes the truststore's password that the server uses to access the trust store
trustStorePassword | the new password to use as a String |
nAdminIllegalArgumentException | if an illegal argument is specified |
Implemented in com.pcbsys.nirvana.nAdminAPI.nSSLInterface, and com.pcbsys.nirvana.nAdminAPI.nHTTPSInterface.