ECC: Unknown named curve: 1.3.36.3.3.2.8.1.1.7 (brainpoolP256r1)

Hello,
I've stumbled on a problem with the ECC and I would like to know if anybody did so too and what can be done.
In our application we need to check X509 certificates. Therefor we parse them with the java.security.cert.CertificateFactory like this:
public X509Certificate parseCertificate(byte[] encodedCertificate) {
        try {
          CertificateFactory cf = CertificateFactory.getInstance("X509");
             ByteArrayInputStream bais = new ByteArrayInputStream(encodedCertificate);
             X509Certificate x509 = (X509Certificate)cf.generateCertificate(bais);
             return x509;
     } catch (CertificateException e) {
          log.log(Level.SEVERE, "Could not parse X509 certificate", e);
     return null;
}This worked for years without any problems. Now customers have new cards by TeleSec with ECC support. Authentication and Encryption certificate are no problems but non-repudiation certificate throws error:
Caused by: java.io.IOException: Unknown named curve: 1.3.36.3.3.2.8.1.1.7
     at sun.security.ec.ECParameters.decodeParameters(ECParameters.java:197)
     at sun.security.ec.ECParameters.engineInit(ECParameters.java:319)
     at java.security.AlgorithmParameters.init(AlgorithmParameters.java:293)
     at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:139)
     at sun.security.x509.AlgorithmId.<init>(AlgorithmId.java:114)
     at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381)
     at sun.security.x509.X509Key.parse(X509Key.java:168)
     at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75)
     at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705)
     at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:169)
     ... 30 moreA google-search did bring up that the Elliptic curve brainpoolP256r1 (which is the curve mentioned in the exception) seems not to be supported by the oracle JDK.
Is there a workaround? I thought of bouncycastle. But I would prefer to use only the JDK JCE.
Thanks!
Stephan

Seems that bouncycastle does the trick. Since I've switched to "BC" Provider the parsing throws no exception.
Too bad, hopefully JDK will support ECC based Certificates soon.

Similar Messages

  • Error while viewing the reports

    Hi,
    When I try to import the catalog from our development system to testing system, catalog gets imported successfully. But when I try to view the reports it throws the following error.
    oracle.dss.d4o.common.D4ORuntimeException: D4O-1009 An error occurred while loading the worksheet.
    oracle.dss.bicontext.BINamingException: BIB-14099 Unknown naming exception.
    oracle.dss.bicontext.BINamingException: BIB-14067 Persistable object threw exception during lookup on method setXMLAsString; component class oracle.dss.dataSource.QueryServer; exception null.
         at oracle.dss.d4o.gui.workbook.PageFrame.stateChanged(Unknown Source)
         at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
         at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
         at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
         at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
         at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
         at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
         at javax.swing.JTabbedPane.insertTab(Unknown Source)
         at javax.swing.JTabbedPane.addTab(Unknown Source)
         at oracle.dss.d4o.gui.workbook.PageFrame.initialize(Unknown Source)
         at oracle.dss.d4o.gui.workbook.PageFrame.<init>(Unknown Source)
         at oracle.dss.d4o.gui.MainPanel$OpenWorkbookTask.construct(Unknown Source)
         at oracle.dss.d4o.gui.common.SwingWorker$4.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Details of two systems are
    Development Env
    Database version : 10.2.0.1.0
    OLAP API Server version : 10.2.0.1.0
    OLAP AW Engine version : 10.2.0.1.0
    OLAP Catalog version : 10.2.0.1.0
    Testing Env
    Database version : 10.2.0.2.0
    OLAP API Server version : 10.2.0.2.0
    OLAP AW Engine version : 10.2.0.2.0
    OLAP Catalog version : 10.2.0.2.0
    Is this error due to the difference between OLAP Catalog Version in two environments? Any ideas ?
    Thanks in advance
    Rana

    Hi
    Well I can't put my hand on my heart and say that the difference between the OLAP Catalog Version in two environments is your issue, but if I saw that on my system I would be having my suspicions. I would definitely try and overcome this first and see what happens. You've got to knock out one piece of the puzzle at a time.
    Isn't it OCCAM's razor (http://en.wikipedia.org/wiki/Occam's_Razor) that says when everything has been considered the obvious answer is usually the correct one?
    Best wishes
    Michael

  • D4O-1009 An error occurred while loading the worksheet

    hye everbody
    i create a worksheet in discoverer plus olap but i get the error *"D4O-1009 An error occurred while loading the worksheet"..*
    even i uninstall the catalog and install the catalog..
    when i create the worksheet and saved..of i exit..and try to open back...it show this error..
    this is the diagnosis for the connection...
    <D4OCheckConfig version="1.0.0.0">
    <Check key="JDK version" value="1.6.0_16"/>
    <Check key="BI Beans internal version" value="3.2.2.0.24"/>
    <Check key="Discoverer Plus OLAP version" value="10.1.2.07.75"/>
    <Check key="Discoverer version" value="10.1.2.48.18"/>
    <Check key="port" value="-1"/>
    <Check key="Connect to database" value="Successful"/>
    <Check key="JDBC driver version" value="10.1.0.3.0"/>
    <Check key="JDBC JAR file location" value="\TOSHIBA\disco\plus_files\d4o_double.jarjar"/>
    <Check key="Database version" value="10.2.0.1.0"/>
    <Check key="OLAP API Server version" value="10.2.0.1.0"/>
    <Check key="OLAP AW Engine version" value="10.2.0.1.0"/>
    <Check key="OLAP Catalog version" value="10.2.0.1.0"/>
    <Check key="BI Beans Catalog version" value="3.2.2.0.24"/>
    <Check key="Discoverer Catalog version" value="10.1.2.07.75"/>
    <Check key="Authorized for Discoverer Plus OLAP catalog" value="Yes"/>
    <Check key="OLAP API JAR file version" value="9.2"/>
    <Check key="OLAP API JAR file location" value="\TOSHIBA\disco\plus_files\d4o_double.jarjar"/>
    <Check key="Load OLAP API metadata" value="Successful"/>
    <Check key="Number of metadata folders" value="3"/>
    <Check key="Number of metadata measures" value="19"/>
    <Check key="Number of metadata dimensions" value="17"/>
    this is the error when i save the error in a notepad...
    oracle.dss.d4o.common.D4ORuntimeException: D4O-1009 An error occurred while loading the worksheet.
    oracle.dss.bicontext.BINamingException: BIB-14099 Unknown naming exception.
    oracle.dss.bicontext.BINamingException: BIB-14067 Persistable object threw exception during lookup on method setXMLAsString; component class oracle.dss.dataSource.QueryServer; exception null.
    i not have any clue...why this thing occur..
    any idea why this thing occur...
    thanks in advance....
    regards,
    rao..

    Hi Rao
    Please don't keep creating new postings for the same issue as it is hard to keep answering multiple posts about the same thing.
    If you have done all of the things suggested by Keith in my previous reply, which as I say is what I would have done, then you really ought to raise this as a service request to Oracle.
    I'm advising this because the particular error you are encountering does not come up in my database of fixes neither could I find any reference to it in either the OTN or MetaLink forums. This needs to be brought to Oracle's attention.
    Best wishes
    Michael

  • Mysterious top link

    I wanted to implement a report template that mimicks the top-link graphic implementation that's found in many of the HTML DB app builder pages. So I got my graphic with a link of <~a href="#top"><~img src="/i/up_arrow.gif"><~/a> into the region template and was testing it out, expecting it to not work because I hadn't defined the top link name for the page template yet. But to my surprise it worked, and continues to work just fine.
    Is this a fluke and do I really need to define the anchor name "top" for the page template? or is there some built-in (either HTML or HTML DB) thing that is making this work? I just want to make sure this thing continues to work.
    Earl

    That is just standard browser behaviour when you
    throw a unknown named page anchor at it.Nice. I like it.
    While we are on the topic, I have never really
    understood why an application needs to implement this
    feature. Doesn't pressing the Home key on the
    keyboard do the same thing? i.e. go to the top of the
    page? So, why re-invent the wheel?Some people are "mousers". When they're mousing they don't want to keyboard if they don't have to. After all - it is a movement of about 6 - 9 inches from that mouse to the keyboard - and we wouldn't want to get too much exercise while we're working at the ole' computer now, would we? ;>)
    Actually, the use-case is such that the user is scrolling a long report page and the top has long since gone out of view. And if they're using the mouse to scroll down to view data they may as well have a quick way to get back from whence they came.
    Earl

  • Missing item assignment for "Minority interest in the balance sheet"

    Dear Experts,
    We unable to perform "Consolidation of investment" and "Validation of Consolidation data" due to our 2 newly created ECCS Accounts not properly assigned. Can any experts guide me how to mapped it? Your fast action is very much appreciated.
    Regards/Lisa

    Dear Dan Sullivan,
    I have created 2 news ECCS Accounts named as SHARE CAPITAL & SHARE PREMIUM. And i do not know how to eliminate these 2 new ECCS accounts with INVESTMENT IN SUBSIDIARY COMPANIES.
    When we performing CONSOLIDATION OF INVESTMENT, the error message showed "Missing Item assignment for Minority Interest in the Balance Sheet" and "No Items are assigned to the items (Newly created ECCS Account)".
    Further when we run VALIDATION OF TOTALS DATA, the error message showed "Total Assets is not equal to Total Liabilities + Equity" in Step 002.

  • ECC Curve P-224 implementation in java card

    Hello
    I am implemeting ECC in java card
    but I need the Curve P-224 as my length
    but Keybuilder is only upto P-192 only
    how can I generate ECC curves parameters and generate key pair
    using Curve P-224 .. please help
    Thank you!

    You're right, Java Card API 2.2.1/2 defines only up to 192 bit ECC key length. You have to find a smart card OS provider who has longer ECC key lengths implemented, offering you an industrial extension API to access it via your applet. Best is to contact smart card manufacturers with your question.

  • Is S-Curve possible for SAP PS ECC 6.0 through ABAP?

    Hi Experts,
    i just want to know that, Is S-Curve possible for SAP PS ECC 6.0 through ABAP coding?
    if yes then plz provide material on it.
    Waiting for the valuable inputs.
    Regards
    Neha
    Edited by: neha1.gpta on Jun 18, 2010 12:02 PM

    Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
    Also, can you clarify the file update process:
    For R3load:
    a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
    b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
    Do i replace (a) with (b)?
    For R3trans:
    How do I update this file?
    - Cobain.

  • Naming my curve layers ...

    In previous versions of Photoshop when creating a curve layer, I could hold down the option key and select the curve icon for the adjustment menu and a window would come up in which I could name the layer.  In the CS6 beta version hoking down the option key does not give me this window.  I have to double click on the curve layer name in the layer pallette and then name it, which is more steps and more work.  I liked the naming window from the option key.  How is it supposed to work now?

    As Howard said, this is a recently reported bug, and there is already an open bug report filed against it. If you read the thread Howard mentioned, it contains other workarounds that may be easier for you. Sorry about the inconvenience, it was not our intention to remove or break this feature.
    Paul

  • Unknown Error - ECC Master Installation

    Experts,
    I face new unknown error while i double click on I:\ECC\IM01_NT_I386\SAPINST\NT\I386\sapinst.exe to install
    initial process of ECC. without any process system shown me error message
    SelfExtractor Error:
    iaextracxt.c.418: Error opening archive file: I:\ECC\IM01_NT_I386\SAPINST\NT\I386\sapinst.exe
    Please suggest me solution.
    Thanks
    Krit

    Hi ,
    Please remove special character from the path of CD . Means in place of IM01_NT_I386 give some simple name like IM01 .hope It will resove your issue.
    kindly check.
    Thanks..
    Mohit
    <modified_by_moderator>
    Do NOT use bolds while replying!
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Aug 27, 2009 10:52 AM

  • Does JCE support the 163 bit ECC (Eliptic Curve) algo for the encryption

    Hi,
    I would like to know if SUN JCE package supports 163 bit ECC (Eliptycal Curve) encryption scheme for encryption/decryption using cipher class?
    Thanks,
    Shirish

    AFAIK, no, it is not supported. Could be supported by one of the other encryption packages though.
    - Daniel

  • Curve 9300 - New Unknown Icon next to New Messages Icon

    Evening,
    A new and unknown icon has appeared next to the new messages icon.  It is a white envelope with a black splodge in the centre and a red circle in top right corner.  It is not clear what is in the black splodge or red circle - could be an exclamation mark in the red circle.  The Icons and Indicators guide does not show this one.
    It also does not refere to any messages from any app that I can work out.
    Any clues?
    Bold 9790/Curve 9300

    Hello ColinStone,
    The steps in the following article should help regarding the update icon appearing on your BlackBerry® smartphone screen:
    These same steps will apply in BlackBerry App World™ storefront 3.0.
    After an update to BlackBerry App World 2.0, the update notification is still visible - http://www.blackberry.com/btsc/KB23718
    We hope this helps.
    Thank you.
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • Unknown exception while creating Item: PPM 5.0 (SP11) + NW 7.41 SP03 + ECC 6.0 EHP7

    Hi we recently upgraded from PPM 5.0 SP 9 to SP11.
    Along with that we did below updates as well.
    NW 7.02 SP10 --> NW 7.41 SP03
    ECC 6.0 EHP5 --> ECC 6.0 EHP7
    During creation of Item we are getting below error
    Exception occurred in the update of the application object
    Some points I have checked already:
    1. New configuring: the complete new set of configuration right from New Portfolio type to item type and related master data.
    2. Authorization: I have ACO_SUPER and also ACL access ADMIN and Write at Portfolio and Top bucket, which shows as Inherited. tried adding Create manually at lowest bucket.
    3. Old Portfolio's (before upgrade): face same issue for new create however the old ones I can update and save works fine.
    4. Basis: There is no Trace we could find relevant, No ST22 dump.
    5. Trace: show CuaOwnLuwErrorReset which Im not sure nor is our Basis guy.
    6. Market place: Tried searching service market place for CuaOwnLuwErrorReset, No use, tried with spaces too.
    7. Basis: Tried verification of Database tables
    8. Old Items > Financial Planning shows dump at CX_RPM_DB_UPDATE, developers are checking it out.
    9. Developments: No BAdI is called during save.
    Any pointers highly appreciated
    Rgds,
    Niranjan

    Ravi,
    Thanks for the pointers. But from configuration perspective its all good I believe.
    Answers in bold
    1) Is this issue persisted before upgrade also?
        NO. Earlier it was working fine.
    2) Have you enabled automatic project creation in the item type?
         a) If yes, then can you check with an item creation where automatic project creation in not enabled.
              Already tried creation of Item only. Same error. With Check box or without. With template or without.
         b) If issue persists only with automatic project creation,then are you trying to create PPM project or PS project?
              PS is not in picture now, as its linked to release strategy of cProjects (PPM project)
         c) If PS project, can you check for the object links RFC connections?
              The cProjects (PPM project) and PS RFCs are fine. We are on same server so its all good. NONE is what is verified in SM59 already
    Rgds,
    Niranjan

  • Custom program - unknown warning messages after upgrade (4.6c to ECC 6.0)

    Hi,
    At work, we are currently upgrading from 4.6c to ECC 6.0
    One of the custom (z) programs that was moved is displaying warning messages, and preventing the user from viewing a report.
    The warnings appeared in ECC 6, but were never there in 4.6c. The warning message is "Restrict your selection". However, no matter how much criteria is entered, the warning message still appears.
    The program code uses no messages or error handling, and the messages show up on the initial selection screen, after hitting execute.
    However, just for testing, I copied the program to my own z program and it works fine.
    Why is this happening with the original program? While creating a new program with copied code fixes the problem, I donu2019t understand why this would be happening in the 1st place.
    Any ideas?

    So what the zprogram does? what tables are involved in the report, if possible post a link to your code.
    Regards
    Karthik D

  • BB Curve 9300 showing my contacts as unknown

    Hi,
    I just got this BB and it looks like I'm not the only one that has had this problem but so far I haven't found a solution.
    On a regular cell I could add contacts to my phonebook and whenever those contacts called their name would show on the display.
    Now when I add contacts to my phonebook and my contacts call me, they are displayed as unknown number.
    Ive seen a few solutions but it doesnt work or wont apply to my version of BB. one was to go to smart dialing. I did. Im from Canada so its a +1 and with my area code its 10 numbers. I have set it to that.
    The second solution someone told me was to go to security option -> general settings. When I go to security options all i have is advanced security options, encryption, firewall, information and security wipe. I tried enabling my encryption and set include contacts to both yes and no. Both times same problem. I use Rogers and Ive used them with my previous cell (not a smartphone) and ive been able to see my contact names when they call, so I have no idea why this isnt working and its a pain in the **bleep** to pick up your phone not knowing whos calling you, whether friend or telemarketer.
    Anyone have any ideas?
    Thanks,
    Vicky

    hi abhishek!
    looks like we sailing in the same boat!
    Im faced with the same issue.
    If your issue has been resolved, please share the solution.
    Appreciate it!
    Regards,
    ally

  • HT4437 Dowloaded Itunes 11.   While airplay icon shows up with my three available devices (computer, Apple tv and airport express), I get an unknown error -15006 occurred while connecting to AirPlay device Apple TV (or airport express device I named Stere

    I have third party Airfoil.  When I select Itunes as source, all three sources are available and connected and working.  I tried the basics (reseting/restarting everything) but I still get this error message.  It all work fine with earlier versions of Itunes 10.  Any thoughts?

    No more need for an answer... the problem has been solved!

Maybe you are looking for

  • I'm suddenly in need of help with my Firefox browser (6.0.2)

    Hi there, I'm suddenly in need of help with my Firefox browser (6.0.2) (OS: I use Windows XP). When I open up the browser, all I see is a completely blank white screen, with all the toolbars at the top. I know that my physical connections are fine: I

  • End User Manual

    Hi SAP Gurus, We are currently want to create the end user manual for the users at client. I want to know what are the different  details that should be maintained in the End User Training Manual. Should we enter screen shots and any question answer 

  • How to hide a column in master-detail jsp

    My jsp contail a master view and a detail view ,and have a link between two,i want hide the column in the detail view as it was shown in master view,How can i do?

  • Distributing Variant BOM (bills of material) with ALE

    Hi all, we need to distribute variant BOMs from one client to another in the same system. But in SAP standard it's not possible to distribute variant BOMs with ALE. Has anyone an idea, how we could manage it? Best regards! Heike

  • Problems with exporting my first HDV project

    Hello everybody When I want to export my 30 min HDV project it takes forever around 10-15 hours. When I finally got a self-contained quicktime movie file exported. It does not play in anything but FCP. Why is it so slow and how can I make it go faste