equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This file contains the definitions of X509 certificate objects. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 @internalTechnology |
|
25 */ |
|
26 |
|
27 #ifndef __X509TIME_H__ |
|
28 #define __X509TIME_H__ |
|
29 |
|
30 #include <e32base.h> |
|
31 #include <e32std.h> |
|
32 #include <asn1dec.h> |
|
33 |
|
34 class TASN1DecX509Time |
|
35 |
|
36 { |
|
37 public: |
|
38 TASN1DecX509Time(); |
|
39 TTime DecodeDERL(const TDesC8& aSource,TInt& aPos); |
|
40 TTime DecodeDERL(const TASN1DecGeneric& aSource); |
|
41 TInt EncodeDER(TDes8& aDestination,TInt& aPos); |
|
42 TTime& GetTimeL(void); |
|
43 TInt LengthDERContent(void) const; |
|
44 private: |
|
45 TTime DecodeContentsL(const TASN1DecGeneric& aSource); |
|
46 }; |
|
47 |
|
48 #endif |