Cisco Cisco Prime Optical 9.8 Developer's Guide

Page of 762
Cisco Prime Optical 9.8 GateWay/CORBA Programmer Reference Guide 
OL-29218-01
 
 
158
 
box in the Prime Optical client Control Panel for the GateWay/CORBA service. Prime Optical 
then decrypts the username and password accordingly. 
To encrypt the username and password, you must use the RSA algorithm with the public key or 
the public key pair provided by Prime Optical. To obtain the Prime Optical public key, use the 
emsSessionFactory::EmsSessionFactory_I::getEmsPublicKey API. To obtain the Prime Optical 
public key pair, use the emsSessionFactory::EmsSessionFactory_I::getEmsPublicKeyPair API. 
Parameters 
Name
 
Type
 
Input/ 
Output
 
Description
 
user
 
string
 
In
 
User or application that is trying to access 
the server. This user must have a profile 
created in Prime Optical.
 
password
 
string
 
In
 
Password for the user application.
 
client
 
nmsSession::NmsSession_I
 
In
 
Handle to the NMS NmsSession_I object, to 
which the returned EmsSession_I object 
must be associated.
 
emsSessionInterface
 
emsSession::EmsSession_I
 
Out
 
CORBA Interoperable Object Reference 
(IOR) for the EmsSession_I interface.
 
 
Throws 
Compliance 
TMF-defined. 
3.5.2  getEmsPublicKey 
Synopsis