MPKIDialog Class Reference
Public Member Functions |
---|
void | CertificateDetails(const TCTTokenObjectHandle &, TRequestStatus &) |
void | CreateCSR(const TDesC &, const TCTTokenObjectHandle &, TRequestStatus &) |
void | DeleteCertificate(const TCTTokenObjectHandle &, TRequestStatus &) |
void | Note(MPKIDialog::TNoteType, TRequestStatus &) |
void | PINBlockedInfo(const TPINLabel &, TRequestStatus &) |
void | Release() |
void | SaveCertificate(TCertificateFormat, TCertificateOwnerType, const TDesC8 &, TRequestStatus &) |
void | SaveSignedText(const TDesC &, TRequestStatus &) |
void | UserAuthentication(const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &) |
void | UserAuthenticationText(const TDesC &, const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &) |
Constructor & Destructor Documentation
~MPKIDialog()
~MPKIDialog | ( | ) | [protected, inline, pure virtual] |
Member Functions Documentation
CertificateDetails(const TCTTokenObjectHandle &, TRequestStatus &)
Shows details of the certificate
Parameters
const TCTTokenObjectHandle & aCertHandle | An identifier of the certificate |
TRequestStatus & aStatus | KErrNone or KErrNotSupported KErrNotFound if no certificates could be presented to the user. |
CreateCSR(const TDesC &, const TCTTokenObjectHandle &, TRequestStatus &)
Certificate signing request dialog
Parameters
const TDesC & aSubject | Subject of the certificate |
const TCTTokenObjectHandle & aKeyHandle | An identifier of the private used in the CSR. |
TRequestStatus & aStatus | This will be set to KErrNotFound if no certificates could be presented to the user. |
DeleteCertificate(const TCTTokenObjectHandle &, TRequestStatus &)
Asks user's approval for certificate deleting.
Parameters
const TCTTokenObjectHandle & aCertHandle | An identifier of the certificate |
TRequestStatus & aStatus | KErrNone, KErrCancel or KErrNotSupported, KErrNotFound if no certificates could be presented to the user. |
Note(MPKIDialog::TNoteType, TRequestStatus &)
Informs the user during digital signing.
PINBlockedInfo(const TPINLabel &, TRequestStatus &)
Shows instructions how to unblock PIN.
Release()
void | Release | ( | ) | [pure virtual] |
Release is called to free resources of the MDigSigningNote class
SaveCertificate(TCertificateFormat, TCertificateOwnerType, const TDesC8 &, TRequestStatus &)
Asks user's approval for certificate saving.
SaveSignedText(const TDesC &, TRequestStatus &)
Saves receipt to Notepad if receipt saving is on.
Parameters
const TDesC & aSignedText | Signed text in readable form. |
TRequestStatus & aStatus | KErrNone or KErrNotSupported |
UserAuthentication(const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &)
User authentication dialogs
Parameters
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. |
UserAuthenticationText(const TDesC &, const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &)
User authentication dialogs with text
Parameters
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. |
Member Enumerations Documentation
Enum TNoteType
TNoteType defines different possible note types.
Enumerators
ESignatureRequested = 0xFF00 | |
ESignatureDone | |
ESigningCancelled | |
ENoMatchCert | |
ENoSecurityModule | |
EInternalError | |
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.