MPKIDialog Class Reference

class MPKIDialog

PKI Dialog interface

Since
Series60 3,0

Constructor & Destructor Documentation

~MPKIDialog()

~MPKIDialog()[protected, inline, pure virtual]

Member Functions Documentation

CertificateDetails(const TCTTokenObjectHandle &, TRequestStatus &)

voidCertificateDetails(const TCTTokenObjectHandle &aCertHandle,
TRequestStatus &aStatus
)[pure virtual]

Shows details of the certificate

Parameters

const TCTTokenObjectHandle & aCertHandleAn identifier of the certificate
TRequestStatus & aStatusKErrNone or KErrNotSupported KErrNotFound if no certificates could be presented to the user.

CreateCSR(const TDesC &, const TCTTokenObjectHandle &, TRequestStatus &)

voidCreateCSR(const TDesC &aSubject,
const TCTTokenObjectHandle &aKeyHandle,
TRequestStatus &aStatus
)[pure virtual]

Certificate signing request dialog

Parameters

const TDesC & aSubjectSubject of the certificate
const TCTTokenObjectHandle & aKeyHandleAn identifier of the private used in the CSR.
TRequestStatus & aStatusThis will be set to KErrNotFound if no certificates could be presented to the user.

DeleteCertificate(const TCTTokenObjectHandle &, TRequestStatus &)

voidDeleteCertificate(const TCTTokenObjectHandle &aCertHandle,
TRequestStatus &aStatus
)[pure virtual]

Asks user's approval for certificate deleting.

Parameters

const TCTTokenObjectHandle & aCertHandleAn identifier of the certificate
TRequestStatus & aStatusKErrNone, KErrCancel or KErrNotSupported, KErrNotFound if no certificates could be presented to the user.

Note(MPKIDialog::TNoteType, TRequestStatus &)

voidNote(MPKIDialog::TNoteTypeaNoteType,
TRequestStatus &aStatus
)[pure virtual]

Informs the user during digital signing.

Parameters

MPKIDialog::TNoteType aNoteTypeIdentifies the note type.
TRequestStatus & aStatusKErrNone or KErrNotSupported

PINBlockedInfo(const TPINLabel &, TRequestStatus &)

voidPINBlockedInfo(const TPINLabel &aLabel,
TRequestStatus &aStatus
)[pure virtual]

Shows instructions how to unblock PIN.

Parameters

const TPINLabel & aLabelLabel of the PIN.
TRequestStatus & aStatusKErrNone or KErrNotSupported

Release()

voidRelease()[pure virtual]

Release is called to free resources of the MDigSigningNote class

SaveCertificate(TCertificateFormat, TCertificateOwnerType, const TDesC8 &, TRequestStatus &)

voidSaveCertificate(TCertificateFormataFormat,
TCertificateOwnerTypeaCertificateOwnerType,
const TDesC8 &aCert,
TRequestStatus &aStatus
)[pure virtual]

Asks user's approval for certificate saving.

Parameters

TCertificateFormat aFormatThe format of the certificate.
TCertificateOwnerType aCertificateOwnerTypeThe owner type.
const TDesC8 & aCertThe certificate to be added.
TRequestStatus & aStatusKErrNone, KErrCancel or KErrNotSupported, KErrArgument if error in certificate parsing

SaveSignedText(const TDesC &, TRequestStatus &)

voidSaveSignedText(const TDesC &aSignedText,
TRequestStatus &aStatus
)[pure virtual]

Saves receipt to Notepad if receipt saving is on.

Parameters

const TDesC & aSignedTextSigned text in readable form.
TRequestStatus & aStatusKErrNone or KErrNotSupported

UserAuthentication(const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &)

voidUserAuthentication(const RArray< TCTTokenObjectHandle > &aCertHandleList,
TCTTokenObjectHandle &aCertHandle,
TRequestStatus &aStatus
)[pure virtual]

User authentication dialogs

Parameters

const RArray< TCTTokenObjectHandle > & aCertHandleListA selection of certificates to display to the user. All certificates are displayed if this is empty.
TCTTokenObjectHandle & aCertHandleOn 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 & aStatusThis will be set to KErrNotFound if no certificates could be presented to the user.

UserAuthenticationText(const TDesC &, const RArray< TCTTokenObjectHandle > &, TCTTokenObjectHandle &, TRequestStatus &)

voidUserAuthenticationText(const TDesC &aTextToSign,
const RArray< TCTTokenObjectHandle > &aCertHandleList,
TCTTokenObjectHandle &aCertHandle,
TRequestStatus &aStatus
)[pure virtual]

User authentication dialogs with text

Parameters

const TDesC & aTextToSignThe text to be signed.
const RArray< TCTTokenObjectHandle > & aCertHandleListA selection of certificates to display to the user. All certificates are displayed if this is empty.
TCTTokenObjectHandle & aCertHandleOn 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 & aStatusThis 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