SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Cartão de Cidadão: Novo middleware OpenSource ,[object Object],Parceria:
Estado actual ,[object Object]
Violação da GNU GPL
Conceito obsoleto (tecnologias antigas)
Dificuldade em suportar multiplicas plataformas
Pouca documentação técnica
Novo middleware ,[object Object]
Fornecer um projecto modular
Baseado no Belgian eID middleware

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Empfohlen

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Apresentacao seminariotecnicocc

  • 1.
  • 2.
  • 5. Dificuldade em suportar multiplicas plataformas
  • 7.
  • 9. Baseado no Belgian eID middleware
  • 11. Manter uma base coerente para o futuro
  • 12. Suporte aplicacional (Ms Office, Firefox, LibreOffice, Outlook, IE e etc...)
  • 13. “ Big Picture” PCSC-lite Kernel PKCS11 CardLayer eidlib AppLayer eidgui Crypto API CSP SDK Java .Net MS Windows PKCS11 apps
  • 14.
  • 16. Compreensão das applets (IAS/GEMSAFE)
  • 17. Compatibilidade com o Middleware anterior
  • 21. Hello World C++ //***************************************************************************** // PTeID SDK sample code. // This sample demonstrates how to use the eID SDK to read a Portuguese eID card. // The program will dump the data to the standard output for each card reader // it finds. //***************************************************************************** #include <iostream> #include &quot;eidlib.h&quot; using namespace eIDMW; //***************************************************************************** // Get the data and dump to the screen // Beware: The data coming from the cards is encoded in UTF8! //***************************************************************************** void getEIDData( PTEID_EIDCard& card ) { PTEID_EId& eid = card.getID(); if ( card.isTestCard() ) { std::cout << &quot;Error: This is a test card. Can not read data...&quot; << std::endl; return; } std::cout << &quot;DocumentType : &quot; << eid.getDocumentType() << std::endl; std::cout << &quot;Personal data:&quot; << std::endl; std::cout << &quot;FirstName : &quot; << eid.getFirstName() << std::endl; std::cout << &quot;Surname : &quot; << eid.getSurname() << std::endl; std::cout << &quot;Gender : &quot; << eid.getGender() << std::endl; std::cout << &quot;DateOfBirth : &quot; << eid.getDateOfBirth() << std::endl; std::cout << &quot;LocationOfBirth : &quot; << eid.getLocationOfBirth() << std::endl; std::cout << &quot;Nationality : &quot; << eid.getNationality() << std::endl; std::cout << &quot;NationalNumber : &quot; << eid.getNationalNumber() << std::endl; std::cout << &quot;MemberOfFamily : &quot; << eid.getMemberOfFamily() << std::endl; std::cout << &quot;ValidityBeginDate : &quot; << eid.getValidityBeginDate() << std::endl; std::cout << &quot;ValidityEndDate : &quot; << eid.getValidityEndDate() << std::endl; PTEID_EIdAddress& eidaddress = card.getAddr(); std::cout << &quot;Street : &quot; << eidaddress.getStreet() << std::endl; std::cout << &quot;ZipCode : &quot; << eidaddress.getZipCode() << std::endl; std::cout << &quot;Municipality : &quot; << eidaddress.getMunicipality() << std::endl; std::cout << &quot;IssuingMunicipality: &quot; << eidaddress.getIssuingMunicipality() << std::endl; } //***************************************************************************** // Get the data from a Portuguese EID card //***************************************************************************** void getEidCardData( PTID_ReaderContext& readerContext ) { PTEID_EIDCard& card = readerContext.getEIDCard(); getEIDData(card); } //***************************************************************************** // Show the info of the card in the reader //***************************************************************************** void showCardInfo( const char* readerName ) { PTEID_ReaderContext& readerContext = ReaderSet.getReaderByName( readerName ); if ( readerContext.isCardPresent() ) { //PTEID_CARDTYPE_EID: getEidCardData( readerContext ); } } //***************************************************************************** // Show the reader info an get the data of the card if present //***************************************************************************** void showReaderCardInfo( const char* readerName ) { PTEID_ReaderContext& readerContext = ReaderSet.getReaderByName( readerName ); std::cout << &quot;Reader: &quot; << readerName << std::endl; std::cout << &quot;Card present: &quot; << (readerContext.isCardPresent()? &quot;yes&quot; :&quot;no&quot;) << std::endl; showCardInfo( readerName ); std::cout << std::endl; } //***************************************************************************** // scan all the card readers and if a card is present, show the content of the // card. //***************************************************************************** void scanReaders( void ) { unsigned long nrReaders = ReaderSet.readerCount(); const char* const* readerList = ReaderSet.readerList(); std::cout << &quot;Nr of card readers detected: &quot; << nrReaders << std::endl; for ( size_t readerIdx=0; readerIdx<nrReaders; readerIdx++) { showReaderCardInfo( readerList[readerIdx] ); } } //***************************************************************************** // Main entry point //***************************************************************************** int main( int argc, char* argv[] ) { std::cout << &quot;PTeID SDK C++ sample program: read_eid&quot; << std::endl; scanReaders(); PTEID_ReleaseSDK(); }
  • 22. Hello World Java //***************************************************************************** // eID SDK sample code. // This sample demonstrates how to use the eID SDK to read a Portuguese eID card. // The program will dump the data to the standard output for each card reader // it finds. // // compile: // javac -classpath <path_to>teid[35]libJava.jar main.java // // run (windows): // set PATH=<path_to_dll's>;%PATH% // java -cp <path_to>teid35libJava.jar;. main //***************************************************************************** import java.lang.*; import pt.portuguese.eid.*; public class main { //***************************************************************************** // Get the data and dump to the screen // Beware: The data coming from the cards is encoded in UTF8! //***************************************************************************** private static void getEIDData(PTEID_EIDCard card) throws Exception { PTEID_EId eid = card.getID(); System.out.println( &quot;DocumentType : &quot; + eid.getDocumentType() ); System.out.println( &quot;Peronal data:&quot; ); System.out.println( &quot;-------------&quot; ); System.out.println( &quot;FirstName1 : &quot; + eid.getFirstName1() ); System.out.println( &quot;Surname : &quot; + eid.getSurname() ); System.out.println( &quot;Gender : &quot; + eid.getGender() ); System.out.println( &quot;DateOfBirth : &quot; + eid.getDateOfBirth() ); System.out.println( &quot;LocationOfBirth : &quot; + eid.getLocationOfBirth() ); System.out.println( &quot;Nationality : &quot; + eid.getNationality() ); System.out.println( &quot;NationalNumber : &quot; + eid.getNationalNumber() ); System.out.println( &quot;SpecialOrganization: &quot; + eid.getSpecialOrganization() ); System.out.println( &quot;MemberOfFamily : &quot; + eid.getMemberOfFamily() ); System.out.println( &quot;ValidityBeginDate : &quot; + eid.getValidityBeginDate() ); System.out.println( &quot;ValidityEndDate : &quot; + eid.getValidityEndDate() ); PTEIDAddress_EId eidaddress = card.getAddr(); System.out.println( &quot;Street : &quot; + eid.getStreet() ); System.out.println( &quot;ZipCode : &quot; + eid.getZipCode() ); System.out.println( &quot;Municipality : &quot; + eid.getMunicipality() ); System.out.println( &quot;Country : &quot; + eid.getCountry() ); System.out.println( &quot;IssuingMunicipality: &quot; + eid.getIssuingMunicipality() ); } //***************************************************************************** // Get the data from a Portuguese EID card //***************************************************************************** private static void getEidCardData(PTEID_ReaderContext readerContext) throws Exception { PTEID_EIDCard card = readerContext.getEIDCard(); getEIDData(card); } //***************************************************************************** // Show the info of the card in the reader //***************************************************************************** private static void showCardInfo(String readerName) throws Exception { PTEID_ReaderContext readerContext = PTEID_ReaderSet.instance().getReaderByName( readerName ); if ( readerContext.isCardPresent() ) { System.out.println(&quot;Type : &quot; + getCardTypeStr(readerContext)); PTEID_CardType cardType = readerContext.getCardType(); getEidCardData(readerContext); } } //***************************************************************************** // Show the reader info an get the data of the card if present //***************************************************************************** private static void showReaderCardInfo(String readerName) throws Exception { PTEID_ReaderContext readerContext = PTEID_ReaderSet.instance().getReaderByName( readerName ); System.out.println(&quot;Reader: &quot;+readerName); System.out.println(&quot;Card present: &quot; + (readerContext.isCardPresent()? &quot;yes&quot; :&quot;no&quot;)); showCardInfo( readerName ); System.out.println(&quot;&quot;); } //***************************************************************************** // scan all the card readers and if a card is present, show the content of the // card. //***************************************************************************** private static void scanReaders() throws Exception { long nrReaders = PTEID_ReaderSet.instance().readerCount(); System.out.println(&quot;Nr of card readers detected: &quot;+nrReaders); for ( int readerIdx=0; readerIdx<nrReaders; readerIdx++) { String readerName = PTEID_ReaderSet.instance().getReaderName(readerIdx); showReaderCardInfo(readerName); } }
  • 23. Hello World Java (cont.) //***************************************************************************** // Main entry point //***************************************************************************** public static void main(String argv[]) { System.out.println(&quot;[Info] PTeID SDK Java sample program: read_eid&quot;); String osName = System.getProperty(&quot;os.name&quot;); if ( -1 != osName.indexOf(&quot;Windows&quot;) ) { System.out.println(&quot;[Info] Windows system!!&quot;); System.loadLibrary(&quot;beid35libJava_Wrapper&quot;); } else { System.loadLibrary(&quot;beidlibJava_Wrapper&quot;); } try { BEID_ReaderSet.initSDK(); scanReaders(); } catch( BEID_Exception e) { System.out.println(&quot;[Catch] BEID_Exception:&quot; + e.GetError()); } catch( Exception e) { System.out.println(&quot;[Catch] Exception:&quot; + e.getMessage()); } try { BEID_ReaderSet.releaseSDK(); } catch (BEID_Exception e) { System.out.println(&quot;[Catch] BEID_Exception:&quot; + e.GetError()); } catch (Exception e) { System.out.println(&quot;[Catch] Exception:&quot; + e.getMessage()); } } }
  • 24.