Sybase ESP .NET SDK  5.0 ESD#1
NetEspCredentials Class Reference

List of all members.

Public Types

enum  NET_ESP_CREDENTIALS_T {
  NET_ESP_CREDENTIALS_NONE = 0, NET_ESP_CREDENTIALS_USER_PASSWORD, NET_ESP_CREDENTIALS_SERVER_RSA, NET_ESP_CREDENTIALS_PROJECT_RSA,
  NET_ESP_CREDENTIALS_CUSTOM
}

Public Member Functions

 NetEspCredentials (NET_ESP_CREDENTIALS_T type)
 NetEspCredentials (ESP_SDK_NAMESPACE::EspCredentials *creds)
void set_user (String^ user)
void set_password (String^ password)
void set_keyfile (String^ keyfile)
ESP_SDK_NAMESPACE::EspCredentials * getEspCredentials ()

Member Enumeration Documentation

Enumerator:
NET_ESP_CREDENTIALS_NONE 

No authentication

NET_ESP_CREDENTIALS_USER_PASSWORD 

Any authentication that requires a user name & password, such as Kerberos

NET_ESP_CREDENTIALS_SERVER_RSA 

RSA authentication with the server framework

NET_ESP_CREDENTIALS_PROJECT_RSA 

RSA authentication with a standalone project

NET_ESP_CREDENTIALS_CUSTOM 

Custom authentication, not implemented


Constructor & Destructor Documentation

NetEspCredentials::NetEspCredentials ( NET_ESP_CREDENTIALS_T  type) [inline]

Constructor used to create a NetEspCredentials object using the specified authentication type.


Member Function Documentation

void NetEspCredentials::set_keyfile ( String^  keyfile) [inline]

Set the name of the file that contains a PEM encoded unencrypted private key. Currently only RSA keys are supported. The file is not read until authentication takes place, at which time an error may be generated.

void NetEspCredentials::set_password ( String^  password) [inline]

Sets the password field for authentication schemas that require it.

void NetEspCredentials::set_user ( String^  user) [inline]

Sets the user or alias of the authentication scheme if one is required.