equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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 "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSTSACIE_H |
|
20 #define CSTSACIE_H |
|
21 |
|
22 #include "cstsasn1sequence.h" |
|
23 |
|
24 namespace java |
|
25 { |
|
26 namespace satsa |
|
27 { |
|
28 |
|
29 class CSTSPath; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * Acie type module |
|
34 * |
|
35 * Acie ::= SEQUENCE { |
|
36 * aid AID OPTIONAL, |
|
37 * acfPath Path, |
|
38 * ... -- for future extensions |
|
39 * } |
|
40 * AID ::= OCTET STRING |
|
41 * |
|
42 * Path ::= SEQUENCE { |
|
43 * path OCTET STRING, |
|
44 * index INTEGER (0..pkcs15-ub-index) OPTIONAL, |
|
45 * length [0] INTEGER (0..pkcs15-ub-index) OPTIONAL |
|
46 * }( WITH COMPONENTS {..., index PRESENT, length PRESENT}| |
|
47 * WITH COMPONENTS {..., index ABSENT, length ABSENT}) |
|
48 * |
|
49 */ |
|
50 NONSHARABLE_CLASS(CSTSAcie): public CSTSASN1Sequence |
|
51 { |
|
52 public: |
|
53 |
|
54 static CSTSAcie* NewLC(); |
|
55 |
|
56 virtual ~CSTSAcie(); |
|
57 |
|
58 public: |
|
59 |
|
60 /** |
|
61 * Getter for aid |
|
62 * @return aid in TDesC reference |
|
63 */ |
|
64 const TDesC8& AID() const; |
|
65 |
|
66 /** |
|
67 * Getter for ACF path |
|
68 * @return ACF path in CSTSPath reference |
|
69 */ |
|
70 const CSTSPath& ACFPath() const; |
|
71 |
|
72 public: // Functions from base classes |
|
73 |
|
74 /** |
|
75 * From MSTSASN1Module |
|
76 * @param aRawData raw-data to be parsed in this instance |
|
77 */ |
|
78 void DecodeL(const TDesC8& aRawData); |
|
79 |
|
80 protected: |
|
81 |
|
82 void ConstructL(); |
|
83 |
|
84 CSTSAcie(); |
|
85 |
|
86 protected: |
|
87 // AID, owned |
|
88 HBufC8* iAid; |
|
89 // ACFPath, owned |
|
90 CSTSPath* iACFPath; |
|
91 |
|
92 }; |
|
93 |
|
94 } // namespace satsa |
|
95 } // namespace java |
|
96 #endif // CSTSACIE_H |
|
97 // End of File |