class MSecurityDialog |
Protected Member Functions | |
---|---|
~MSecurityDialog () |
Public Member Enumerations | |
---|---|
enum | TConnectionType { EWTLS , ETLS } |
~MSecurityDialog | ( | ) | [protected, inline, pure virtual] |
Destructor for the MSecurityDialog class
void | ChangePIN | ( | const TPINParams & | aPINParams, |
TBool | aRetry, | |||
TPINValue & | aOldPINValue, | |||
TPINValue & | aNewPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to change a PIN.
const TPINParams & aPINParams | Information about the PIN to change |
TBool aRetry | Indicates whether the user is retrying |
TPINValue & aOldPINValue | On return, the old PIN the user entered |
TPINValue & aNewPINValue | On return, the new PIN the user entered |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | DisablePIN | ( | const TPINParams & | aPINParams, |
TBool | aRetry, | |||
TPINValue & | aPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to disable a PIN.
const TPINParams & aPINParams | Information about the PIN to disable. |
TBool aRetry | Indicates whether the user is retrying. |
TPINValue & aPINValue | On return, the PIN the user entered: |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | EnablePIN | ( | const TPINParams & | aPINParams, |
TBool | aRetry, | |||
TPINValue & | aPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to enable a PIN.
const TPINParams & aPINParams | Information about the PIN to enable. |
TBool aRetry | Indicates whether the user is retrying. |
TPINValue & aPINValue | On return, the PIN the user entered: |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | EnterPIN | ( | const TPINParams & | aPINParams, |
TBool | aRetry, | |||
TPINValue & | aPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to enter a PIN.
const TPINParams & aPINParams | Information about the PIN to enter. |
TBool aRetry | Indicates whether the user is retrying. |
TPINValue & aPINValue | On return, the PIN the user entered: |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | EstablishSecureConnection | ( | const TDesC8 & | aCertData, |
const RArray < TCTTokenObjectHandle > & | aCertHandleList, | |||
MSecurityDialog::TConnectionType | aConnectionType, | |||
TBool & | aDoClientAuthentication, | |||
TCTTokenObjectHandle & | aCertHandle, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Informs the user that a secure connection is being established with the given server, allowing them to proceed or cancel the operation.
const TDesC8 & aCertData | The certificate sent by the server. |
const RArray < TCTTokenObjectHandle > & aCertHandleList | A selection of certificates to display to the user. All certificates are displayed if this is empty. |
MSecurityDialog::TConnectionType aConnectionType | This allows the type of certificate to be identified. |
TBool & aDoClientAuthentication | Determines whether the user is prompted to agree to authenticate themselves to the server. If this was true before the function was called, it will contain the result of the user's decision on return. |
TCTTokenObjectHandle & aCertHandle | An identifier for the certificate the user selected. |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | PINBlocked | ( | const TPINParams & | aPINParams, |
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Informs the user that the PIN has become blocked.
const TPINParams & aPINParams | Information about the blocked PIN. |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | ServerAuthenticationFailure | ( | const TDesC8 & | aServerName, |
const TValidationError & | aFailureReason, | |||
const TDesC8 & | aEncodedCert, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Informs the user that the server authentication has failed.
const TDesC8 & aServerName | The name of the server. |
const TValidationError & aFailureReason | |
const TDesC8 & aEncodedCert | |
TRequestStatus & aStatus | This will be set to KErrNone or KErrAbort depending upon the EContinue or EStop. |
void | SignText | ( | const TDesC & | aTextToSign, |
const RArray < TCTTokenObjectHandle > & | aCertHandleList, | |||
TCTTokenObjectHandle & | aCertHandle, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Signs some text.
const TDesC & aTextToSign | The text to be signed. |
const RArray < TCTTokenObjectHandle > & aCertHandleList | A selection of certificates to display to the user. All certificates are displayed if this is empty. |
TCTTokenObjectHandle & aCertHandle | On return, an identifier for the certificate the user selected. aStatus - this will be set to KErrNotFound if no certificates could be presented to the user. |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | TotalBlocked | ( | const TPINParams & | aPINParams, |
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Informs the user that the unblock PIN has been blocked.
const TPINParams & aPINParams | Information about the blocked PIN. |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | UnblockPIN | ( | const TPINParams & | aBlockedPINParams, |
const TPINParams & | aUnblockingPINParams, | |||
TBool | aRetry, | |||
TPINValue & | aUnblockingPINValue, | |||
TPINValue & | aNewPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to unblock a PIN.
The unblocking PIN is not displayed as it is entered, and can be a maximum of 32 characters long - hence it is passed back as a TPINValue.
const TPINParams & aBlockedPINParams | Information about the PIN to unblock |
const TPINParams & aUnblockingPINParams | Information about the unblocking PIN |
TBool aRetry | Indicates whether the user is retrying |
TPINValue & aUnblockingPINValue | On return, the PIN the user entered |
TPINValue & aNewPINValue | On return, the new PIN the user entered |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
void | UnblockPINInClear | ( | const TPINParams & | aBlockedPINParams, |
const TPINParams & | aUnblockingPINParams, | |||
TBool | aRetry, | |||
TUnblockPINValue & | aUnblockingPINValue, | |||
TPINValue & | aNewPINValue, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Prompts the user to unblock a PIN.
The unblocking PIN is displayed to the user in the clear as it is entered, and can be a maximum of 64 characters long - it is passed back as a TUnblockPINValue.
const TPINParams & aBlockedPINParams | Information about the PIN to unblock |
const TPINParams & aUnblockingPINParams | Information about the unblocking PIN |
TBool aRetry | Indicates whether the user is retrying |
TUnblockPINValue & aUnblockingPINValue | On return, the PIN the user entered |
TPINValue & aNewPINValue | On return, the new PIN the user entered |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
TConnectionType defines the possible protocols used in EstablishSecureConnection which allows the type of the certificate to be derived.
EWTLS |
WTLS |
ETLS |
TLS |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.