![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class MSecurityPolicy;
The Security Policy Interface. This interface class must be the base class of a security policy plug-in.
Defined in MSecurityPolicy
:
CancelValidateUntrustedServerCert()
Intended Usage: Cancel a previous request to ask the client to accept or reject ...GetNamedPolicyProperty(RStringF,RString &)
Intended Usage: Obtain arbitrary, named security policy properties, in a generic...GetTlsCipherSuites()
Intended Usage: Obtain a list of TLS cipher suites. Not applicable to WTLS clien...GetWtlsCipherSuites()
Intended Usage: Obtain an array of WTLS cipher suites. Not applicable to TLS cli...GetWtlsKeyExchangeSuites()
Intended Usage: Obtain the WTLS key exchange suites. Not applicable to TLS clien...Reserved1()
Intended Usage: Reserve a slot in the v-table to preserve future BC Reserved2()
Intended Usage: Reserve a slot in the v-table to preserve future BC ValidateUntrustedServerCert(TCertInfo &,TRequestStatus &)const
Intended Usage: Ask the client to accept or reject a certificate. Not applicable...virtual void ValidateUntrustedServerCert(TCertInfo &aServerCert, TRequestStatus &aStatus) const=0;
Intended Usage: Ask the client to accept or reject a certificate. Not applicable to TLS, as the SSL layer does this itself.
The call is asynchronous, returning the result via the TRequestStatus
.
|
virtual void CancelValidateUntrustedServerCert()=0;
Intended Usage: Cancel a previous request to ask the client to accept or reject an untrusted WTLS server certificate.
virtual const RArray< TWtlsCipherSuite >& GetWtlsCipherSuites()=0;
Intended Usage: Obtain an array of WTLS cipher suites. Not applicable to TLS clients.
|
virtual const TDesC8& GetTlsCipherSuites()=0;
Intended Usage: Obtain a list of TLS cipher suites. Not applicable to WTLS clients.
|
virtual const RArray< TWtlsKeyExchangeSuite >& GetWtlsKeyExchangeSuites()=0;
Intended Usage: Obtain the WTLS key exchange suites. Not applicable to TLS clients.
|
virtual TInt GetNamedPolicyProperty(RStringF aPropertyName, RString &aPropertyValue)=0;
Intended Usage: Obtain arbitrary, named security policy properties, in a generic 'stringified' form.
|
|
protected: virtual void Reserved1()=0;
Intended Usage: Reserve a slot in the v-table to preserve future BC
protected: virtual void Reserved2()=0;
Intended Usage: Reserve a slot in the v-table to preserve future BC