equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 |
|
20 |
|
21 /** |
19 /** |
22 @file |
20 @file |
23 @internalAll |
21 @publishedAll |
|
22 @released |
24 */ |
23 */ |
25 |
24 |
26 #ifndef __WTLSCERTCHAIN_H__ |
25 #ifndef __WTLSCERTCHAIN_H__ |
27 #define __WTLSCERTCHAIN_H__ |
26 #define __WTLSCERTCHAIN_H__ |
28 |
27 |
35 /** The validation status. |
34 /** The validation status. |
36 * |
35 * |
37 * Some errors cannot be blamed on any single certificate, in which case the |
36 * Some errors cannot be blamed on any single certificate, in which case the |
38 * iCert value is meaningless. The same structure is used for errors and for warnings. |
37 * iCert value is meaningless. The same structure is used for errors and for warnings. |
39 * |
38 * |
40 * @publishedAll |
39 */ |
41 * @released */ |
|
42 { |
40 { |
43 public: |
41 public: |
44 /** Creates a validation status object. |
42 /** Creates a validation status object. |
45 * |
43 * |
46 * @param aError The error type that occurred when validating the certificate chain. |
44 * @param aError The error type that occurred when validating the certificate chain. |
57 class CWTLSValidationResult : public CBase |
55 class CWTLSValidationResult : public CBase |
58 /** Encapsulates the results of the validation process. |
56 /** Encapsulates the results of the validation process. |
59 * |
57 * |
60 * It is returned to client code, which can examine it. Client code takes ownership of it. |
58 * It is returned to client code, which can examine it. Client code takes ownership of it. |
61 * |
59 * |
62 * @publishedAll |
60 */ |
63 * @released */ |
|
64 { |
61 { |
65 public: |
62 public: |
66 /** Creates a new CWTLSValidationResult object and puts a pointer to it on the |
63 /** Creates a new CWTLSValidationResult object and puts a pointer to it on the |
67 * cleanup stack. |
64 * cleanup stack. |
68 * |
65 * |
125 class CWTLSCertChainAO; |
122 class CWTLSCertChainAO; |
126 |
123 |
127 class CWTLSCertChain : public CBase |
124 class CWTLSCertChain : public CBase |
128 /** Implements a WTLS certificate chain. |
125 /** Implements a WTLS certificate chain. |
129 * |
126 * |
130 * @publishedAll |
127 */ |
131 * @released */ |
|
132 { |
128 { |
133 friend class CWTLSCertChainAO; |
129 friend class CWTLSCertChainAO; |
134 |
130 |
135 public: |
131 public: |
136 /** Creates a certificate chain using the binary data in aEncodedCerts. |
132 /** Creates a certificate chain using the binary data in aEncodedCerts. |
254 CArrayPtrFlat<CWTLSCertificate>* iChain; |
250 CArrayPtrFlat<CWTLSCertificate>* iChain; |
255 TBool iChainHasRoot; |
251 TBool iChainHasRoot; |
256 }; |
252 }; |
257 |
253 |
258 #endif |
254 #endif |
|
255 |