14 | #include "wintypes.h"
15 | #include "readerfactory.h"
16 |
17 | #define PID_ASCII_SIZE 11
18 | pid_t GetDaemonPid(void);
19 | int SendHotplugSignal(void);
20 |
21 | /* defined in winscard_clnt.c */
22 | LONG SCardCheckDaemonAvailability(void);
23 |
24 | int CheckForOpenCT(void);
25 |
26 | long int time_sub(struct timeval *a, struct timeval *b);
27 |
28 | /* thread attributes */
29 | #define THREAD_ATTR_DEFAULT 0
30 | #define THREAD_ATTR_DETACHED 1
31 |
32 | #define PCSCLITE_THREAD_FUNCTION(f) void *(*f)(void *)
33 |
34 | int ThreadCreate(pthread_t *, int, PCSCLITE_THREAD_FUNCTION( ),
35 | /*@null@*/ LPVOID);
36 |
37 | #endif
38 |
39 |
--------------------------------------------------------------------------------
/addons/genericcryptography/src/main/resources/GenericCrypto-Plugin-Manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GenericCrypto-Plugin
4 | 1.0.0
5 |
6 | Generic Crypto Protocol Add-on
7 | Generic Crypto functionality belonging to the Open eCard core.
8 |
9 |
10 |
11 |
12 |
13 |
14 | urn:oid:1.3.162.15480.3.0.25
15 | org.openecard.sal.protocol.genericcryptography.GenericCryptoProtocol
16 | Generic Crypto Protocol Implementation
17 | TODO
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/clients/android/assets/about_de.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Über
5 |
6 |
7 |
8 | Im Rahmen des Open eCard Projektes haben sich industrielle und akademische Experten mit dem Ziel zusammengeschlossen, eine quelloffene und plattformunabhängige Implementierung des eCard-API-Frameworks BSI-TR-03112 bereitzustellen, wodurch beliebige Anwendungen für Zwecke der Authentisierung und Signatur leicht auf beliebige Chipkarten zugreifen können.
9 | Ein erstes Projektergebnis ist die in Version 1.0.0-pre4-20130109 vorliegende Open eCard App.
10 | Besuchen Sie http://openecard.org, um weitere Informationen über dieses Projekt zu erhalten.
11 |
12 |
13 |
--------------------------------------------------------------------------------
/wsdef/wsdef-client/src/main/wsdl/TCTokenType.xsd:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/clients/android/assets/logback-sdcard.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | /sdcard/.openecard/android_info.log
6 |
7 |
8 | /sdcard/.openecard/android_info.%d{yyyy-MM-dd}_%d{HHmmss}.log
9 |
10 |
11 | 30
12 |
13 |
14 | %date{ISO8601} [%thread] %-5level %class{35}:%line - %msg%n
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ifd/scio-backend/seek/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard.ifd
9 | scio-backend
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.ifd.scio-backend
14 | seek
15 | jar
16 | Seek SmartcardIO
17 |
18 |
19 |
20 | org.simalliance
21 | openmobileapi
22 |
23 |
24 | com.google.android
25 | android
26 | provided
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/cjeca32/CPTReader.h:
--------------------------------------------------------------------------------
1 | #ifndef CPTREADER_H
2 | #define CPTREADER_H
3 |
4 | #include "EC30Reader.h"
5 |
6 | class CCPTReader :
7 | public CEC30Reader
8 | {
9 | public:
10 | CCPTReader(CReader *Owner,CBaseCommunication *Communicator);
11 | virtual ~CCPTReader(void);
12 | virtual CJ_RESULT CtSetContrast(EContrast eContrast,uint32_t *Result);
13 |
14 |
15 | protected:
16 | virtual uint16_t HostToReaderShort(uint16_t Value);
17 | virtual uint32_t HostToReaderLong(uint32_t Value);
18 | virtual void SetHWString(char *String);
19 | virtual void GetProductString(uint8_t *Product);
20 | virtual bool HastModulestoreInfo();
21 | virtual CJ_RESULT CtSetBacklight(EBacklight eBacklight,uint32_t *Result);
22 | virtual CJ_RESULT CtSetSilentMode(bool boolMode,bool *pboolMode,uint32_t *Result);
23 | virtual CJ_RESULT CtGetSilentMode(bool *pboolMode,uint32_t *Result);
24 | virtual CJ_RESULT SpecialLess3_0_41();
25 | virtual bool PinDirectSupported();
26 |
27 |
28 |
29 | };
30 |
31 | #endif
32 |
33 |
--------------------------------------------------------------------------------
/clients/android/assets/about_C.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Über
5 |
6 |
7 |
8 | In the context of the Open eCard Projectes, industrial as well as
9 | academic experts have decided to work together on providing an open source and cross platform implementation of
10 | the eCard-API-Framework BSI-TR-03112, through which arbitrary
11 | applications can utilize authentication and signatures with arbitrary chip cards.
12 | A first project artifact is the currently in Version 1.0.0-pre4-20130109
13 | running Open eCard App.
14 | Visit us at http://openecard.org, to receive further information about
15 | the project.
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/include/firmware/eca_defines.h:
--------------------------------------------------------------------------------
1 | #ifndef ECA_DEFINES
2 | #define ECA_DEFINES
3 |
4 | #define MODULE_READY 0xa55a55aaL
5 | #define MODULE_DEAKTIV 0xaaa55a55L
6 | #define MODULE_CORRUPT 0xffffffffL
7 | #ifndef ECOM_F
8 | #define MODULE_UPDATE 0x12448841L
9 | #else
10 | #define MODULE_UPDATE 0x055000aaL
11 | #endif
12 |
13 | #define MODULE_ID_KERNEL 0x01000001L
14 | #define MODULE_ID_TEST_APPL1 0xFE000001L
15 | #define MODULE_ID_TEST_APPL2 0xFE000002L
16 | #define MODULE_ID_MKT_COMP 0x01000002L
17 | #define MODULE_ID_ZKA_SIG 0x02000001L
18 | #define MODULE_ID_GK_APPL 0x02000002L
19 | #define MODULE_ID_KT_LIGHT 0x02000003L
20 | #define MODULE_ID_KT_LIGHT_GC 0x02000103L
21 | #define MODULE_ID_RETAILER_ID 0x03000000L
22 | #define MODULE_ID_BINGO_VOTING 0x04000001L
23 | #define MODULE_ID_HHD 0x05000001L
24 | #define MODULE_ID_RF_UPDATE 0x06000001L
25 | #define MODULE_ID_PACE 0xFC000001L
26 | #define MODULE_ID_SERVICE_TOOL 0xFE000003L
27 |
28 |
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/cjeca32/ECMReader.h:
--------------------------------------------------------------------------------
1 | #ifndef ECMREADER_H
2 | #define ECMREADER_H
3 |
4 | #include "ECRReader.h"
5 | #include "ECBReader.h"
6 |
7 | class CECMReader :
8 | public CECRReader, public CECBReader
9 | {
10 | public:
11 | CECMReader(CReader *Owner,CBaseCommunication *Communicator);
12 | virtual ~CECMReader(void);
13 |
14 | virtual void SetHWString(char *String);
15 | virtual void GetProductString(uint8_t *Product);
16 |
17 | protected:
18 | virtual RSCT_IFD_RESULT IfdPower(uint32_t Mode, uint8_t *ATR, uint32_t *ATR_Length, uint32_t Timeout);
19 | virtual RSCT_IFD_RESULT IfdSetProtocol(uint32_t *Protocol);
20 | virtual RSCT_IFD_RESULT _IfdTransmit(const uint8_t *cmd, uint16_t cmd_len,uint8_t *response,uint16_t *response_len);
21 | virtual RSCT_IFD_RESULT IfdVendor(uint32_t IoCtrlCode,uint8_t *Input,uint32_t InputLength,uint8_t *Output,uint32_t *OutputLength);
22 | virtual CJ_RESULT BuildReaderInfo();
23 | virtual uint32_t GetReadersInputBufferSize();
24 |
25 |
26 | };
27 | #endif
28 |
--------------------------------------------------------------------------------
/addons/pkcs11/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | addons
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.addons
14 | pkcs11
15 | jar
16 | PKCS#11 Add-on
17 |
18 |
19 |
20 |
21 | org.openecard.wsdef
22 | wsdef-client
23 | ${project.version}
24 | provided
25 |
26 |
27 |
28 | org.json
29 | json
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/clients/applet/src/main/resources/applet_log.properties:
--------------------------------------------------------------------------------
1 | ############################################################
2 | # Global properties
3 | ############################################################
4 |
5 | # Handlers
6 | handlers = java.util.logging.ConsoleHandler
7 |
8 | # Default log level for all loggers
9 | .level = WARNING
10 |
11 | ############################################################
12 | # Handler specific properties.
13 | # Describes specific configuration info for handlers.
14 | ############################################################
15 |
16 | # ConsoleHandler config
17 | java.util.logging.ConsoleHandler.level = WARNING
18 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
19 | java.util.logging.SimpleFormatter.format = %4$s: %5$s [%1$tc]%n
20 |
21 | ############################################################
22 | # Facility specific properties.
23 | # Provides extra control for each logger.
24 | ############################################################
25 |
26 | #org.openecard.ifd.level = FINE
27 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/join_C.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Join
5 |
6 |
15 |
16 |
17 | The Open eCard Team is an open community,
18 | encouraging all interested citizens as well as relevant institutions and organizations to participate. Anyone
19 | interested in the development of the Open
20 | eCard App, can become a member of the Open eCard
21 | Team.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/crypto/tls/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | crypto
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.crypto
14 | tls
15 | Open eCard TLS
16 |
17 |
18 |
19 | org.openecard.wsdef
20 | wsdef-client
21 | ${project.version}
22 | provided
23 |
24 |
25 |
26 | org.openecard.crypto
27 | crypto-common
28 | ${project.version}
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/addons/status/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | addons
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.addons
14 | status
15 | jar
16 | Status
17 |
18 |
19 |
20 | org.openecard.wsdef
21 | wsdef-client
22 | ${project.version}
23 | provided
24 |
25 |
26 | org.openecard.sal
27 | sal-common
28 | ${project.version}
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/join_de.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Mitmachen
5 |
6 |
15 |
16 |
17 | Das Open eCard Team ist eine offene
18 | Gemeinschaft, die alle interessierten Bürgerinnen und Bürger sowie entsprechende Institutionen und Verbände
19 | zur Mitwirkung aufruft. Wer die Entwicklung
20 | der Open eCard App unterstützen möchte,
21 | kann sich dem Open eCard Team hier anschließen.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-nfc/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard.ifd
9 | scio-backend
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.ifd.scio-backend
14 | android-nfc
15 | jar
16 | NFC SmartcardIO
17 |
18 |
19 |
20 | org.openecard.ifd.scio-backend
21 | android-scio
22 | ${project.version}
23 |
24 |
25 | com.google.android
26 | android
27 | provided
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/transport/dispatcher/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | transport
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.transport
14 | dispatcher
15 | jar
16 | Dispatcher
17 |
18 |
19 |
20 | org.openecard
21 | common
22 | ${project.version}
23 |
24 |
25 | org.openecard.wsdef
26 | wsdef-client
27 | ${project.version}
28 | provided
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/clients/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | app
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard
14 | clients
15 | pom
16 | Client Implementations
17 |
18 |
19 | applet
20 | richclient
21 |
22 |
23 |
24 |
25 | android
26 |
27 |
28 |
29 | env.ANDROID_HOME
30 |
31 |
32 |
33 | android
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/clients/android/src/main/java/org/openecard/android/AddonManagerSingleton.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of SkIDentity.
7 | *
8 | * This file may be used in accordance with the terms and conditions
9 | * contained in a signed written agreement between you and ecsec GmbH.
10 | *
11 | ***************************************************************************/
12 |
13 | package org.openecard.android;
14 |
15 | import org.openecard.addon.AddonManager;
16 |
17 |
18 | /**
19 | * TODO: revise if we can live without a singleton here.
20 | *
21 | * @author Tobias Wich
22 | */
23 | public class AddonManagerSingleton {
24 |
25 | private static AddonManager instance;
26 |
27 | public static void setInstance(AddonManager instance) {
28 | AddonManagerSingleton.instance = instance;
29 | }
30 |
31 | public static AddonManager getInstance() {
32 | return instance;
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/cjeca32/ECRReader.h:
--------------------------------------------------------------------------------
1 | #ifndef ECRREADER_H
2 | #define ECRREADER_H
3 |
4 | #include "ECPReader.h"
5 |
6 | class CECRReader :
7 | virtual public CECPReader
8 | {
9 | public:
10 | CECRReader(CReader *Owner,CBaseCommunication *Communicator);
11 | virtual ~CECRReader(void);
12 |
13 | virtual void SetHWString(char *String);
14 | virtual void GetProductString(uint8_t *Product);
15 |
16 | protected:
17 | virtual RSCT_IFD_RESULT IfdPower(uint32_t Mode, uint8_t *ATR, uint32_t *ATR_Length, uint32_t Timeout);
18 | virtual RSCT_IFD_RESULT IfdSetProtocol(uint32_t *Protocol);
19 | virtual RSCT_IFD_RESULT _IfdTransmit(const uint8_t *cmd, uint16_t cmd_len,uint8_t *response,uint16_t *response_len);
20 | virtual RSCT_IFD_RESULT IfdVendor(uint32_t IoCtrlCode,uint8_t *Input,uint32_t InputLength,uint8_t *Output,uint32_t *OutputLength);
21 | virtual CJ_RESULT BuildReaderInfo();
22 | virtual uint32_t GetReadersInputBufferSize();
23 |
24 | private:
25 | uint8_t m_SerialNumber[10];
26 | int m_SerialNumberLength;
27 |
28 | };
29 |
30 | #endif
31 |
32 |
--------------------------------------------------------------------------------
/management/tiny-management/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | management
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.management
14 | tiny-management
15 | jar
16 | Tiny Management
17 |
18 |
19 |
20 | org.openecard
21 | common
22 | ${project.version}
23 |
24 |
25 | org.openecard.wsdef
26 | wsdef-client
27 | ${project.version}
28 | provided
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/wsdef/jaxb-marshaller/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | wsdef
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.wsdef
14 | jaxb-marshaller
15 | jar
16 | JAXB Marshaller
17 |
18 |
19 |
20 | org.openecard.wsdef
21 | wsdef-common
22 | ${project.version}
23 |
24 |
25 | org.openecard.wsdef
26 | wsdef-client
27 | ${project.version}
28 | provided
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/LICENSE.JSON:
--------------------------------------------------------------------------------
1 | Permission is hereby granted, free of charge, to any person obtaining a copy
2 | of this software and associated documentation files (the "Software"), to deal
3 | in the Software without restriction, including without limitation the rights
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5 | copies of the Software, and to permit persons to whom the Software is
6 | furnished to do so, subject to the following conditions:
7 |
8 | The above copyright notice and this permission notice shall be included in all
9 | copies or substantial portions of the Software.
10 |
11 | The Software shall be used for Good, not Evil.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/addons/pin-management/src/main/java/org/openecard/plugins/pinplugin/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * PIN management plugin and it's actions.
25 | */
26 | package org.openecard.plugins.pinplugin;
27 |
--------------------------------------------------------------------------------
/ifd/ifd-protocols/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | ifd
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.ifd
14 | ifd-protocols
15 | pom
16 | IFD protocols
17 |
18 |
19 | pace
20 |
21 |
22 |
23 |
24 | org.openecard.ifd
25 | ifd-common
26 | ${project.version}
27 |
28 |
29 | org.openecard.wsdef
30 | wsdef-client
31 | ${project.version}
32 | provided
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/LICENSE.BouncyCastle:
--------------------------------------------------------------------------------
1 | Copyright (c) 2000 - 2012 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this
4 | software and associated documentation files (the "Software"), to deal in the Software
5 | without restriction, including without limitation the rights to use, copy, modify, merge,
6 | publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
7 | to whom the Software is furnished to do so, subject to the following conditions:
8 |
9 | The above copyright notice and this permission notice shall be included in all copies or
10 | substantial portions of the Software.
11 |
12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
13 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
14 | PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
15 | FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/include/firmware/eca_module_errors.h:
--------------------------------------------------------------------------------
1 | #ifndef ECA_MODULE_ERRORS
2 | #define ECA_MODULE_ERRORS
3 |
4 | #define ECA_MODULE_ERR_SUCCESS 0x00000000
5 | #define ECA_MODULE_ERR_INVALID_PARAMS 0x00000001
6 | #define ECA_MODULE_ERR_INVALID_LENGTH 0x00000002
7 | #define ECA_MODULE_ERR_ACCESS_DENIED 0x00000003
8 | #define ECA_MODULE_ERR_CANCELED_BY_USER 0x00000004
9 | #define ECA_MODULE_ERR_TIMEOUT 0x00000005
10 | #define ECA_MODULE_ERR_OUT_OF_RESOURCE 0x00000006
11 | #define ECA_MODULE_ERR_VERIFY_NOT_DSI 0x00000007
12 | #define ECA_MODULE_ERR_VERIFY_INV_SIGN 0x00000008
13 | #define ECA_MODULE_ERR_MODULE_NOT_FOUND 0x00000009
14 | #define ECA_MODULE_ERR_OUT_OF_SEQUENCE 0x0000000A
15 | #define ECA_MODULE_ERR_VALIDATION 0x0000000B
16 | #define ECA_MODULE_ERR_MEMORY 0x0000000C
17 | #define ECA_MODULE_ERR_VERSION 0x0000000D
18 | #define ECA_MODULE_ERR_INVALID_KEY 0x0000000E
19 | #define ECA_MODULE_NOT_SUPPORTED 0x0000000F
20 | #define ECA_MODULE_ERR_NO_FUNCTION 0x00000010
21 | #define ECA_MODULE_ERR_CO_EXISTENCE 0x00000011
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/addons/pin-management/src/main/java/org/openecard/plugins/pinplugin/gui/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Dialogs and StepActions for the PIN management plugin.
25 | */
26 | package org.openecard.plugins.pinplugin.gui;
27 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/pcsc-lite/src/hotplug.h:
--------------------------------------------------------------------------------
1 | /*
2 | * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3 | *
4 | * Copyright (C) 2000-2003
5 | * David Corcoran
6 | * Copyright (C) 2002-2009
7 | * Ludovic Rousseau
8 | *
9 | * $Id: hotplug.h 5434 2010-12-08 14:13:21Z rousseau $
10 | */
11 |
12 | /**
13 | * @file
14 | * @brief This provides a search API for hot pluggble devices.
15 | */
16 |
17 | #ifndef __hotplug_h__
18 | #define __hotplug_h__
19 |
20 | #ifndef PCSCLITE_HP_DROPDIR
21 | #define PCSCLITE_HP_DROPDIR "/usr/local/pcsc/drivers/"
22 | #endif
23 |
24 | #define PCSCLITE_HP_MANUKEY_NAME "ifdVendorID"
25 | #define PCSCLITE_HP_PRODKEY_NAME "ifdProductID"
26 | #define PCSCLITE_HP_NAMEKEY_NAME "ifdFriendlyName"
27 | #define PCSCLITE_HP_LIBRKEY_NAME "CFBundleExecutable"
28 | #define PCSCLITE_HP_CPCTKEY_NAME "ifdCapabilities"
29 | #define PCSCLITE_HP_CFBUNDLE_NAME "CFBundleName"
30 |
31 | #define PCSCLITE_HP_BASE_PORT 0x200000
32 |
33 | LONG HPSearchHotPluggables(void);
34 | ULONG HPRegisterForHotplugEvents(void);
35 | LONG HPStopHotPluggables(void);
36 | void HPReCheckSerialReaders(void);
37 |
38 | #endif
39 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/message/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Definition of message dialog related items.
25 | * That includes dialog types, message types and result types.
26 | */
27 | package org.openecard.gui.message;
28 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/ccid/src/utils.h:
--------------------------------------------------------------------------------
1 | /*
2 | utils.c:
3 | Copyright (C) 2003-2009 Ludovic Rousseau
4 |
5 | This library is free software; you can redistribute it and/or
6 | modify it under the terms of the GNU Lesser General Public
7 | License as published by the Free Software Foundation; either
8 | version 2.1 of the License, or (at your option) any later version.
9 |
10 | This library is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | Lesser General Public License for more details.
14 |
15 | You should have received a copy of the GNU Lesser General Public License
16 | along with this library; if not, write to the Free Software Foundation,
17 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 | */
19 |
20 | /*
21 | * $Id: utils.h 4973 2010-06-01 09:43:29Z rousseau $
22 | */
23 |
24 | #ifndef TRUE
25 | #define FALSE 0
26 | #define TRUE 1
27 | #endif
28 |
29 | void InitReaderIndex(void);
30 | int GetNewReaderIndex(const int Lun);
31 | int LunToReaderIndex(int Lun);
32 | void ReleaseReaderIndex(const int idx);
33 |
34 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/pcsc-lite/src/hotplug_generic.c:
--------------------------------------------------------------------------------
1 | /*
2 | * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3 | *
4 | * Copyright (C) 2000-2003
5 | * David Corcoran
6 | * Copyright (C) 2002-2011
7 | * Ludovic Rousseau
8 | *
9 | * $Id: hotplug_generic.c 5711 2011-05-05 09:02:08Z rousseau $
10 | */
11 |
12 | /**
13 | * @file
14 | * @brief This provides a search API for hot pluggble devices.
15 | *
16 | * Check for platforms that have their own specific support.
17 | * It's easier and flexible to do it here, rather than
18 | * with automake conditionals in src/Makefile.am.
19 | * No, it's still not a perfect solution design wise.
20 | */
21 |
22 | #include "config.h"
23 | #include "pcsclite.h"
24 |
25 | #ifndef TRUE
26 | #define TRUE 1
27 | #define FALSE 0
28 | #endif
29 |
30 | #if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__) && !defined(HAVE_LIBUDEV)
31 |
32 | LONG HPSearchHotPluggables(void)
33 | {
34 | return 0;
35 | }
36 |
37 | ULONG HPRegisterForHotplugEvents(void)
38 | {
39 | return 0;
40 | }
41 |
42 | LONG HPStopHotPluggables(void)
43 | {
44 | return 0;
45 | }
46 |
47 | void HPReCheckSerialReaders(void)
48 | {
49 | }
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/ifd/ifd-common/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | ifd
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.ifd
14 | ifd-common
15 | jar
16 | IFD common
17 |
18 |
19 |
20 | org.openecard
21 | common
22 | ${project.version}
23 |
24 |
25 | org.openecard.gui
26 | gui-common
27 | ${project.version}
28 |
29 |
30 | org.openecard.wsdef
31 | wsdef-client
32 | ${project.version}
33 | provided
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/wsdef/wsdef-common/src/main/java/org/openecard/common/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Common utilities for the work with JAXB, JAX-WS and SAAJ.
25 | * The utilities comprise a generic factory class and a specialised version of the Properties class.
26 | */
27 | package org.openecard.common;
28 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/util/RemoveActionFactory.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.util;
24 |
25 |
26 | /**
27 | *
28 | * @author Tobias Wich
29 | */
30 | public interface RemoveActionFactory {
31 |
32 | RemoveAction create(V v);
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/feedback_C.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Feedback
5 |
6 |
15 |
16 |
17 | No software product is free of bugs and can therefore always be improved. This is especially true for the
18 | currently prototypical implementation of
19 | the Open eCard App.
20 | Against this background, the Open eCard Team is gladly receiving bug reports and proposals and is working
21 | hard to address them in time and to provide feedback for the input.
22 | The Open eCard Project is providing an issue tracker
23 | at http://openecard.org/issues in order to receive and manage the bug
24 | reports and proposals.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/crypto/crypto-common/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | crypto
9 | org.openecard
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.crypto
14 | crypto-common
15 | jar
16 | Crypto common
17 |
18 |
19 |
20 | org.openecard.wsdef
21 | wsdef-client
22 | ${project.version}
23 | provided
24 |
25 |
26 | org.openecard
27 | common
28 | ${project.version}
29 |
30 |
31 | org.openecard.crypto
32 | bouncycastle
33 | ${project.version}
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/wsdef/wsdef-common/src/main/java/org/openecard/ws/soap/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * SAAJ abstractions to be able to run on platforms without the javax packages, e.g. Android.
25 | * These classes provide interfaces for SAAJ. They are more or less the same.
26 | */
27 | package org.openecard.ws.soap;
28 |
--------------------------------------------------------------------------------
/addons/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | app
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard
14 | addons
15 | pom
16 | Integrated Add-ons
17 |
18 |
19 | pin-management
20 | genericcryptography
21 | tr03112
22 | status
23 | pkcs11
24 |
25 |
26 |
27 |
28 | org.openecard
29 | addon
30 | ${project.version}
31 |
32 |
33 | org.openecard.wsdef
34 | wsdef-client
35 | ${project.version}
36 | provided
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/transport/http-core/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | org.openecard
9 | transport
10 | 1.1.0-pre1
11 |
12 |
13 | org.openecard.transport
14 | http-core
15 | jar
16 | Open eCard HTTP core
17 |
18 |
19 |
20 | ${project.groupId}
21 | http-core-shade
22 | ${project.version}
23 |
24 |
25 | org.openecard
26 | common
27 | ${project.version}
28 |
29 |
30 | org.openecard.crypto
31 | bouncycastle
32 | ${project.version}
33 | test
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/clients/android/assets/logback-logcat+sdcard.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level %logger{36} - %msg%n
6 |
7 |
8 |
9 |
10 | /sdcard/.openecard/android_info.log
11 |
12 |
13 | /sdcard/.openecard/android_info.%d{yyyy-MM-dd}_%d{HHmmss}.log
14 |
15 |
16 | 30
17 |
18 |
19 | %date{ISO8601} [%thread] %-5level %class{35}:%line - %msg%n
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/feedback_de.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Feedback
5 |
6 |
15 |
16 |
17 | Keine Software ist frei von Fehlern und Programme sind immer verbesserungsfähig. Das gilt insbesondere für
18 | die bislang nur als Prototyp
19 | vorliegende Open eCard App.
20 | Vor diesem Hintergrund nimmt das Open eCard Team gern entsprechende Fehlerberichte und Anregungen entgegen
21 | und ist stets bemüht, sich zeitnah der gemeldeten Probleme und Verbesserungsvorschläge anzunehmen.
22 | Das Open eCard Projekt betreibt hierfür
23 | unter http://openecard.org/issues ein System zum Verfolgen von
24 | Problemen und Verbesserungsvorschlägen.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/clients/richclient/src/main/java/org/openecard/richclient/gui/manage/core/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Customization of the management dialog for the Open eCard core functionality.
25 | * This package contains a connection settings page and a PIN management page.
26 | */
27 | package org.openecard.richclient.gui.manage.core;
28 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/interfaces/AsyncTransportCallback.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.interfaces;
24 |
25 |
26 | /**
27 | *
28 | * @author Johannes Schmölz
29 | */
30 | public interface AsyncTransportCallback {
31 |
32 | Object receive(Object message);
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/addons/genericcryptography/src/main/java/org/openecard/sal/protocol/genericcryptography/apdu/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * This package includes all APDUs needed by the generic crypthography protocol that are not
25 | * provided by the common apdu package.
26 | */
27 | package org.openecard.sal.protocol.genericcryptography.apdu;
28 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/LifecycleTrait.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon;
24 |
25 |
26 | /**
27 | *
28 | * @author Tobias Wich
29 | */
30 | public interface LifecycleTrait {
31 |
32 | void init(Context aCtx) throws ActionInitializationException;
33 |
34 | void destroy();
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/executor/StepActionResultStatus.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.gui.executor;
24 |
25 |
26 | /**
27 | * Result status of step actions.
28 | *
29 | * @author Tobias Wich
30 | */
31 | public enum StepActionResultStatus {
32 |
33 | NEXT, BACK, REPEAT, CANCEL;
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/wsdef/wsdef-client/src/main/wsdl/ISOIFDCallback.xsd:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
19 |
20 |
22 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/bind/AppExtensionAction.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon.bind;
24 |
25 | import org.openecard.addon.LifecycleTrait;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | */
32 | public interface AppExtensionAction extends LifecycleTrait {
33 |
34 | void execute();
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/addons/genericcryptography/src/test/resources/plaintext.txt:
--------------------------------------------------------------------------------
1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
2 |
3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
--------------------------------------------------------------------------------
/gui/about/src/main/java/org/openecard/gui/about/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Swing implementation of an about dialog.
25 | * It shows some information about the application, e.g. the version and the license of the application, how to
26 | * contribute to the project, how to submit bug reports and so on.
27 | */
28 | package org.openecard.gui.about;
29 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/about_C.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Über
5 |
6 |
15 |
16 |
17 | In the context of the Open eCard Projectes, industrial as well as
18 | academic experts have decided to work together on providing an open source and cross platform implementation of
19 | the eCard-API-Framework BSI-TR-03112, through which arbitrary
20 | applications can utilize authentication and signatures with arbitrary chip cards.
21 | The first project artifact is the currently
22 | running Open eCard App.
23 | Visit us at http://openecard.org, to receive further information about
24 | the project.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/interfaces/EventFilter.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.interfaces;
24 |
25 | import org.openecard.common.enums.EventType;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | */
32 | public interface EventFilter {
33 |
34 | boolean matches(EventType t, Object o);
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/addons/pin-management/src/main/java/org/openecard/sal/protocol/pincompare/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * This package represents the PINCompare protocol implementation.
25 | * It contains the protocol, the protocol factory and the steps implementing the functions supported by the pin
26 | * compare protocol.
27 | */
28 | package org.openecard.sal.protocol.pincompare;
29 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/file/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Definition of file dialog related items.
25 | * The {@link FileFilter} interface can be used to filter out unwanted files in the file dialog. Additionally this
26 | * package contains some of the most frequently needed file filters.
27 | */
28 | package org.openecard.gui.file;
29 |
--------------------------------------------------------------------------------
/transport/dispatcher/src/main/java/org/openecard/transport/dispatcher/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Java reflection based implementation of the Dispatcher interface.
25 | * The interface definitions are loaded once when the dispatcher is created.
26 | *
27 | * @see org.openecard.common.interfaces.Dispatcher
28 | */
29 | package org.openecard.transport.dispatcher;
30 |
--------------------------------------------------------------------------------
/clients/android/src/main/java/org/openecard/android/activities/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Activities for the Android client.
25 | * This package includes all Activities and Helper classes used by them (for example ListAdapters).
26 | * Activities used to implement the GUI-Interface are not part of this package.
27 | */
28 | package org.openecard.android.activities;
29 |
--------------------------------------------------------------------------------
/wsdef/wsdef-common/src/main/java/org/openecard/ws/marshal/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * JAXB and JAX-WS abstractions to be able to run on platforms without the javax packages, e.g. Android.
25 | * These classes provide the necessary abstractions and a few helpers to simplify life when dealing with JAXB and
26 | * JAX-WS.
27 | */
28 | package org.openecard.ws.marshal;
29 |
--------------------------------------------------------------------------------
/clients/android/res/layout/plugin.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
18 |
19 |
24 |
25 |
29 |
30 |
31 |
32 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ifd/ifd-common/src/main/java/org/openecard/common/ifd/MessageType.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.ifd;
24 |
25 |
26 | /**
27 | *
28 | * @author Johannes Schmoelz
29 | */
30 | public enum MessageType {
31 |
32 | AUTHENTICATION_REQUEST,
33 | SUCCESS,
34 | AUTHENTICATION_FAILED,
35 | REQUEST_CONFIRMATION,
36 | CANCEL
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/wsdef/wsdef-common/src/main/java/org/openecard/ws/soap/SOAPEnvelope.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.ws.soap;
24 |
25 | import org.w3c.dom.Element;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | */
32 | public class SOAPEnvelope extends SOAPElement {
33 |
34 | public SOAPEnvelope(Element element) {
35 | super(element);
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/interfaces/EventCallback.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.interfaces;
24 |
25 | import org.openecard.common.enums.EventType;
26 |
27 |
28 | /**
29 | *
30 | * @author Johannes Schmoelz
31 | */
32 | public interface EventCallback {
33 |
34 | void signalEvent(EventType eventType, Object eventData);
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/addons/status/src/main/resources/Status-Plugin-Manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Status
4 | 1.0
5 |
6 | Plugin für die eID Aktivierung
7 | Testbeschreibung
8 | Status functionality belonging to the Open eCard core.
9 |
10 |
11 |
12 |
13 | org.openecard.control.module.status.StatusAction
14 | TODO
15 | TODO
16 | getStatus
17 |
18 |
19 |
20 | org.openecard.control.module.status.WaitForChangeAction
21 | TODO
22 | TODO
23 | waitForChange
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/util/RemoveAction.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.util;
24 |
25 |
26 | /**
27 | *
28 | * @author Tobias Wich
29 | */
30 | public abstract class RemoveAction {
31 |
32 | protected final V v;
33 |
34 | public RemoveAction(V v) {
35 | this.v = v;
36 | }
37 |
38 | public abstract void perform();
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/SelectionStrategy.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon;
24 |
25 | import java.util.Set;
26 | import org.openecard.addon.manifest.AddonSpecification;
27 |
28 |
29 | /**
30 | *
31 | * @author Tobias Wich
32 | */
33 | public interface SelectionStrategy {
34 |
35 | AddonSpecification select(Set addons);
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/gui/about/src/main/resources/openecard_i18n/about/about_de.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Über
5 |
6 |
15 |
16 |
17 | Im Rahmen des Open eCard Projektes haben sich industrielle und
18 | akademische Experten mit dem Ziel zusammengeschlossen, eine quelloffene und plattformunabhängige Implementierung
19 | des eCard-API-Frameworks BSI-TR-03112 bereitzustellen, wodurch
20 | beliebige Anwendungen für Zwecke der Authentisierung und Signatur leicht auf beliebige Chipkarten zugreifen
21 | können.
22 | Ein erstes Projektergebnis ist die
23 | vorliegende Open eCard App.
24 | Besuchen Sie http://openecard.org, um weitere Informationen über dieses
25 | Projekt zu erhalten.
26 |
27 |
28 |
--------------------------------------------------------------------------------
/i18n/src/main/resources/openecard_i18n/addon/Messages_C.properties:
--------------------------------------------------------------------------------
1 | # Add-on management dialog
2 | addon.title = Open eCard Platform and Add-on Management
3 | addon.list.core = Open eCard
4 | addon.list.addon = Add-ons
5 |
6 | # Add-on panel
7 | addon.panel.tab.function = Functions
8 | addon.panel.tab.settings = Settings
9 | addon.panel.tab.about = About
10 |
11 | # Connection settings
12 | addon.list.core.connection = Connection Settings
13 | addon.list.core.connection.proxy.group_name = Proxy
14 | addon.list.core.connection.proxy.scheme = Type
15 | addon.list.core.connection.proxy.scheme.desc = Type of the proxy or none if proxy shall be disabled.
16 | addon.list.core.connection.proxy.host = Hostname
17 | addon.list.core.connection.proxy.host.desc = Hostname or IP address of the proxy server.
18 | addon.list.core.connection.proxy.port = Port
19 | addon.list.core.connection.proxy.port.desc = Port number of the proxy server.
20 | addon.list.core.connection.proxy.vali = Validate TLS
21 | addon.list.core.connection.proxy.vali.desc = Validation of the certificate of the proxy server.
22 | addon.list.core.connection.proxy.user = Username
23 | addon.list.core.connection.proxy.user.desc = Username for HTTP Basic Authentication (RFC 2617).
24 | addon.list.core.connection.proxy.pass = Password
25 | addon.list.core.connection.proxy.pass.desc = Password for HTTP Basic Authentication (RFC 2617).
26 |
--------------------------------------------------------------------------------
/clients/applet/src/logging/default_log.properties:
--------------------------------------------------------------------------------
1 | ############################################################
2 | # Global properties
3 | ############################################################
4 |
5 | # Handlers
6 | handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler
7 |
8 | # Default log level for all loggers
9 | .level = CONFIG
10 |
11 | ############################################################
12 | # Handler specific properties.
13 | # Describes specific configuration info for handlers.
14 | ############################################################
15 |
16 | # FileHandler config
17 | java.util.logging.FileHandler.level = FINE
18 | java.util.logging.FileHandler.pattern = logs/applet-%u.log
19 | java.util.logging.FileHandler.limit = 0
20 | java.util.logging.FileHandler.count = 1
21 | java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
22 |
23 | # ConsoleHandler config
24 | java.util.logging.ConsoleHandler.level = INFO
25 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
26 | java.util.logging.SimpleFormatter.format = %4$s: %5$s [%1$tc]%n
27 |
28 | ############################################################
29 | # Facility specific properties.
30 | # Provides extra control for each logger.
31 | ############################################################
32 |
33 | org.openecard.ifd.level = FINE
34 |
--------------------------------------------------------------------------------
/addons/genericcryptography/src/main/java/org/openecard/sal/protocol/genericcryptography/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * This package represents the generic cryptography protocol implementation.
25 | * It contains the protocol, the protocol factory and the steps implementing the functions supported by the generic
26 | * crypthography protocol.
27 | */
28 | package org.openecard.sal.protocol.genericcryptography;
29 |
--------------------------------------------------------------------------------
/clients/android/src/main/java/org/openecard/android/activities/LoggingTypes.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 HS Coburg.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.android.activities;
24 |
25 |
26 | /**
27 | * Enumeration of the logging types that can be used in this App.
28 | *
29 | * @author Dirk Petrautzki
30 | */
31 | public enum LoggingTypes {
32 |
33 | NONE,
34 | LOGCAT,
35 | SDCARD,
36 | LOGCAT_SDCARD
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/ccid/src/openct/checksum.h:
--------------------------------------------------------------------------------
1 | /*
2 | proto-t1.h: header file for proto-t1.c
3 | Copyright (C) 2004 Ludovic Rousseau
4 |
5 | This library is free software; you can redistribute it and/or
6 | modify it under the terms of the GNU Lesser General Public
7 | License as published by the Free Software Foundation; either
8 | version 2.1 of the License, or (at your option) any later version.
9 |
10 | This library is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | Lesser General Public License for more details.
14 |
15 | You should have received a copy of the GNU Lesser General Public License
16 | along with this library; if not, write to the Free Software Foundation,
17 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 | */
19 |
20 | /* $Id: checksum.h 2974 2008-05-28 18:32:52Z rousseau $ */
21 |
22 | #ifndef __CHECKSUM_H__
23 | #define __CHECKSUM_H__
24 |
25 | #include "config.h"
26 | #ifdef HAVE_STDINT_H
27 | #include
28 | #endif
29 | #include
30 |
31 | extern unsigned int csum_lrc_compute(const uint8_t *, size_t, unsigned char *);
32 | extern unsigned int csum_crc_compute(const uint8_t *, size_t, unsigned char *);
33 |
34 | #endif
35 |
36 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/ResultStatus.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.gui;
24 |
25 |
26 | /**
27 | * Result status of a GUI step.
28 | * The statuses are equivalent to the buttons usually shown in the navigation section of the step.
29 | *
30 | * @author Tobias Wich
31 | */
32 | public enum ResultStatus {
33 |
34 | OK,
35 | BACK,
36 | CANCEL;
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/manifest/EnumListEntry.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon.manifest;
24 |
25 | import javax.xml.bind.annotation.XmlRootElement;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | * @author Dirk Petrautzki
32 | */
33 | @XmlRootElement(name = "EnumListEntry")
34 | public class EnumListEntry extends EnumEntry {
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/manifest/ScalarListEntry.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon.manifest;
24 |
25 | import javax.xml.bind.annotation.XmlRootElement;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | * @author Dirk Petrautzki
32 | */
33 | @XmlRootElement(name = "ScalarListEntry")
34 | public class ScalarListEntry extends ScalarEntry {
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/definition/InputInfoUnit.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.gui.definition;
24 |
25 |
26 | /**
27 | * Interface for all GUI description elements which have no output values.
28 | * Output values are retrieved from the step after it is finished.
29 | *
30 | * @author Tobias Wich
31 | */
32 | public interface InputInfoUnit extends InfoUnit {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/gui/gui-common/src/main/java/org/openecard/gui/definition/OutputInfoUnit.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.gui.definition;
24 |
25 |
26 | /**
27 | * Interface for all GUI description elements which have output values.
28 | * Output values are retrieved from the step after it is finished.
29 | *
30 | * @author Tobias Wich
31 | */
32 | public interface OutputInfoUnit extends InfoUnit {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/transport/dispatcher/src/test/java/org/openecard/transport/dispatcher/TestEnv2.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.transport.dispatcher;
24 |
25 |
26 | /**
27 | * Test environment.
28 | * The instance is used to check if the interfaces are also found if the actual annotations are defined in a superclass.
29 | *
30 | * @author Tobias Wich
31 | */
32 | public class TestEnv2 extends TestEnv1 {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/common/src/main/java/org/openecard/common/tlv/iso7816/TLVType.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.common.tlv.iso7816;
24 |
25 | import org.openecard.common.tlv.TLV;
26 |
27 |
28 | /**
29 | *
30 | * @author Tobias Wich
31 | */
32 | public abstract class TLVType {
33 |
34 | protected TLV tlv;
35 |
36 | private TLVType() { }
37 | public TLVType(TLV tlv) {
38 | this.tlv = tlv;
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/cyberjack/cjeca32/RFKReader.cpp:
--------------------------------------------------------------------------------
1 | #include "Platform.h"
2 | #include
3 | #include
4 | #include "RFKReader.h"
5 | #include "BaseCommunication.h"
6 |
7 | #include "memory_placements.h"
8 |
9 |
10 | #define base CRFSReader
11 |
12 | CRFKReader::CRFKReader(CReader *Owner,CBaseCommunication *Communicator)
13 | :base(Owner,Communicator)
14 | {
15 | }
16 |
17 | CRFKReader::~CRFKReader(void)
18 | {
19 | }
20 |
21 | void CRFKReader::SetHWString(char *String)
22 | {
23 | strcpy(String,"RFK_");
24 | }
25 |
26 | void CRFKReader::GetProductString(uint8_t *Product)
27 | {
28 | memcpy(Product,"CJRFK",5);
29 | }
30 |
31 | CJ_RESULT CRFKReader::CtSetBacklight(EBacklight eBacklight,uint32_t *Result)
32 | {
33 | CJ_RESULT Res;
34 | switch(eBacklight)
35 | {
36 | case BacklightOff:
37 | Res=_CtSetBacklight(0,Result);
38 | break;
39 | case BacklightVeryLow:
40 | Res=_CtSetBacklight(70,Result);
41 | break;
42 | case BacklightLow:
43 | Res=_CtSetBacklight(100,Result);
44 | break;
45 | case BacklightMedium:
46 | Res=_CtSetBacklight(120,Result);
47 | break;
48 | case BacklightHigh:
49 | Res=_CtSetBacklight(160,Result);
50 | break;
51 | case BacklightVeryHigh:
52 | Res=_CtSetBacklight(255,Result);
53 | break;
54 | default:
55 | Res=CJ_ERR_WRONG_PARAMETER;
56 | }
57 | return Res;
58 | }
--------------------------------------------------------------------------------
/ifd/scio-backend/android-pcsc/jni/pcsc-lite/src/ifdwrapper.h:
--------------------------------------------------------------------------------
1 | /*
2 | * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3 | *
4 | * Copyright (C) 1999-2004
5 | * David Corcoran
6 | * Copyright (C) 2002-2010
7 | * Ludovic Rousseau
8 | *
9 | * $Id: ifdwrapper.h 5434 2010-12-08 14:13:21Z rousseau $
10 | */
11 |
12 | /**
13 | * @file
14 | * @brief This wraps the dynamic ifdhandler functions. The abstraction will
15 | * eventually allow multiple card slots in the same terminal.
16 | */
17 |
18 | #ifndef __ifdwrapper_h__
19 | #define __ifdwrapper_h__
20 |
21 | LONG IFDOpenIFD(READER_CONTEXT *);
22 | LONG IFDCloseIFD(READER_CONTEXT *);
23 | LONG IFDPowerICC(READER_CONTEXT *, DWORD, PUCHAR, /*@out@*/ PDWORD);
24 | LONG IFDStatusICC(READER_CONTEXT *, /*@out@*/ PDWORD);
25 | LONG IFDControl_v2(READER_CONTEXT *, PUCHAR, DWORD, /*@out@*/ PUCHAR,
26 | PDWORD);
27 | LONG IFDControl(READER_CONTEXT *, DWORD, LPCVOID, DWORD, LPVOID,
28 | DWORD, LPDWORD);
29 | LONG IFDTransmit(READER_CONTEXT *, SCARD_IO_HEADER,
30 | PUCHAR, DWORD, /*@out@*/ PUCHAR, PDWORD, PSCARD_IO_HEADER);
31 | LONG IFDSetPTS(READER_CONTEXT *, DWORD, UCHAR, UCHAR, UCHAR, UCHAR);
32 | LONG IFDSetCapabilities(READER_CONTEXT *, DWORD, DWORD, PUCHAR);
33 | LONG IFDGetCapabilities(READER_CONTEXT *, DWORD, PDWORD, /*@out@*/ PUCHAR);
34 |
35 | #endif /* __ifdwrapper_h__ */
36 |
--------------------------------------------------------------------------------
/i18n/src/main/resources/openecard_i18n/addon/Messages_de.properties:
--------------------------------------------------------------------------------
1 | # Add-on management dialog
2 | addon.title = Open eCard Plattform und Add-on Verwaltung
3 | addon.list.core = Open eCard
4 | addon.list.addon = Add-ons
5 |
6 | # Add-on panel
7 | addon.panel.tab.function = Funktionen
8 | addon.panel.tab.settings = Einstellungen
9 | addon.panel.tab.about = Über
10 |
11 | # Connection settings
12 | addon.list.core.connection = Verbindungseinstellungen
13 | addon.list.core.connection.proxy.group_name = Proxy
14 | addon.list.core.connection.proxy.scheme = Typ
15 | addon.list.core.connection.proxy.scheme.desc = Typ des Proxys oder leer, falls kein Proxy verwendet werden soll.
16 | addon.list.core.connection.proxy.host = Hostname
17 | addon.list.core.connection.proxy.host.desc = Hostname oder IP Adresse des Proxyservers.
18 | addon.list.core.connection.proxy.port = Port
19 | addon.list.core.connection.proxy.port.desc = Portnummer des Proxyservers.
20 | addon.list.core.connection.proxy.vali = TLS Validierung
21 | addon.list.core.connection.proxy.vali.desc = Validierung des Zertifikats des Proxyservers.
22 | addon.list.core.connection.proxy.user = Benutzername
23 | addon.list.core.connection.proxy.user.desc = Benutzername für die HTTP Basic Authentication (RFC 2617).
24 | addon.list.core.connection.proxy.pass = Passwort
25 | addon.list.core.connection.proxy.pass.desc = Passwort für die HTTP Basic Authentication (RFC 2617).
26 |
--------------------------------------------------------------------------------
/addon/src/main/java/org/openecard/addon/bind/BindingResultCode.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | package org.openecard.addon.bind;
24 |
25 |
26 | /**
27 | *
28 | * @author Tobias Wich
29 | */
30 | public enum BindingResultCode {
31 |
32 | OK,
33 | REDIRECT,
34 | INTERNAL_ERROR,
35 | WRONG_PARAMETER,
36 | MISSING_PARAMETER,
37 | TIMEOUT,
38 | DEPENDING_HOST_UNREACHABLE,
39 | RESOURCE_UNAVAILABLE;
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/ifd/scio-backend/osx-pcsc/src/main/java/org/openecard/scio/osx/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2012-2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * This package contains a OS X specific SmartcardIO implementation. We've to do
25 | * this, because the current PC/SC JNI libraries on OS X (jre6 & jre7) are too buggy
26 | * to be useful and the design of the sun.security.smartcardio package doesn't allow
27 | * to specify another JNI library path.
28 | */
29 | package org.openecard.scio.osx;
30 |
--------------------------------------------------------------------------------
/clients/richclient/src/main/java/org/openecard/richclient/gui/manage/package-info.java:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Copyright (C) 2013 ecsec GmbH.
3 | * All rights reserved.
4 | * Contact: ecsec GmbH (info@ecsec.de)
5 | *
6 | * This file is part of the Open eCard App.
7 | *
8 | * GNU General Public License Usage
9 | * This file may be used under the terms of the GNU General Public
10 | * License version 3.0 as published by the Free Software Foundation
11 | * and appearing in the file LICENSE.GPL included in the packaging of
12 | * this file. Please review the following information to ensure the
13 | * GNU General Public License version 3.0 requirements will be met:
14 | * http://www.gnu.org/copyleft/gpl.html.
15 | *
16 | * Other Usage
17 | * Alternatively, this file may be used in accordance with the terms
18 | * and conditions contained in a signed written agreement between
19 | * you and ecsec GmbH.
20 | *
21 | ***************************************************************************/
22 |
23 | /**
24 | * Swing based management GUI for add-ons and core functionality.
25 | * The dialog elements can be customized depending on the particular use case.
26 | * For extensibility take a look at {@link AddonPanel}, {@link ActionPanel}, {@link SettingsPanel} and (TODO:)
27 | * AboutPanel.
28 | */
29 | package org.openecard.richclient.gui.manage;
30 |
--------------------------------------------------------------------------------