Location:
csecuritypolicy.h
class MSecurityPolicy;
The Security Policy Interface. This interface class must be the base class of a security policy plug-in.
Defined in MSecurityPolicy
:
CancelValidateUntrustedServerCert()
, GetNamedPolicyProperty()
, GetTlsCipherSuites()
, GetWtlsCipherSuites()
, GetWtlsKeyExchangeSuites()
, Reserved1()
, Reserved2()
, ValidateUntrustedServerCert()
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