How do you control the type of TLS alerts sent by JSSE?

I'm working on an application which certificate validation path it takes to plug in the JSSE. So, I implemented my own X509TrustManager that implement the methods 'checkClientTrusted' and "checkServerTrusted", such as when the path of the application certificate validation fails, it throws a CertificateException according to the choice of the method signature. In addition, CertificateException has four subclasses: CertificateEncodingException, CertificateExpiredException, CertificateNotYetValidException and CertificateParsingException. The subclass of CertificateException that throw you on the certificate path validation failure makes JSSE send a TLS alert relevant to the counterpart of SSL handshake. HOWEVER, subclasses of CertificateException do not contain anything to send TLS alerts important much like certificate_revoked, unsupported_certificate and many more. How can you make JSSE send these alerts in this case?

There is no code in JSSE to send one of these alerts. If you throw any CertificateException of these methods, it will always send an alert_certificate_unknown.

(OpenJDK 6 b10, June 21, 2010 CBC)

Tags: Java

Similar Questions

  • How do you control the number of cycles showed on the chart

    How do you control the number of cycles showed on the chart?  I selected a graph of scanning, and I do not see the bar vertical chart when the program runs.  This is probably because I don't see the whole cycle of the periodic signal I try to display.  I need to set the graph to display several cycles.  Any help will be greatly appreciated.

    Right-click in the list and set the required number of points in the history buffer (right-click... length of the graphic history...). Then set the x axis not autoscale and cover your historical range complete.

  • How do you control the position and size of the images, IE. photo to the printer?

    HP Officejet 8600

    Windows XP

    I'm trying to figure out how to control the position and the size of the photos or photos that are included in an email that I send to my printer via HP ePrint.

    Hello. The process that I mentioned using Word provided that if we were send emails to the printer from a computer. If you just transfer emails from the iPhone to the printer there is no option to control the position of the jpg print. This isn't something that can be handled right now on ePrint.  The attachment will be printed on a separate page. The body of the email will be printed separately of the spare part.

  • How do you control the subject of the email that has the attached PDf form

    I created a form with a button to submit a PDF file (using mailto :) to a particular address.  It all works very well.

    Now what I want to do is to control the returned emails subject line. I want them to be easily identifiable in a group mailbox and so they all have the same subject line.

    Here is the corrected form.

    https://Acrobat.com/#d=VmIrzKJAw1iP2K * AhJlpXQ

    I did both the phone number and location as optional fields. I'm checking these fields in the click event of the Send Email button. If they have values, then the user can send the form. Otherwise the form will throw a message that one or more required fields are missing data... (You can customize the message to you).

    This new approach will stop the Cancel submit to appear in the form...

    I hope this helps...

    Thank you

    Srini

  • How do you control the width of the managers in the region?

    Is there a way to control the width will be a region? I have areas that means right away as necessary to cover the elements within the region. The page would be much better if the area of the region (chassis?) have been controlled for not taking more space than necessary to frame the items it contains.

    Hello
    Put code below on 'Attributes of area HTML table cells'

    style="width:275px"
    

    * If this answer is useful or appropriate then please mark and award points.

  • How do you get the type of incoming IMAP to POP3 server?

    Recently, after getting a laptop with Windows 7, my Thunderbird account stopped to let me see or send emails. I contacted my small ISP and talked with them. One change was that the address I had for their server was no longer used and now the server type is incorrect on behalf of TB: it was IMAP, but should be POP3. I have to go to a reading of general E-mail site to find my incoming emails. I can't find a way to change the IMAP POP3 Protocol, so need your help.

    Configure the account again. When it gets to a point where it shows you the IMAP settings, it can show you boxes to choose between POP and IMAP. If so, select pop. If this is not the case, select manual Config and enter the settings provided by your email provider.

    What reason is provider makes for POPS are correct and incorrect IMAP? If you have run the auto-set-up and Thunderbird discovered an IMAP server, then they of course offer IMAP service, so it is difficult to see why its use is 'bad '.

    Provider who is?

  • How do you control the privacy in a mailing list?

    I want to create a mailing list, but I don't want others to see the e-mail from the rest of the people. What I have to do something special or it is already safe and nobody sees the rest of the addresses? Thank you!

    Nothing is safe, unless you use BCC instead of TO when it comes to email.

    BCC = blind carbon copy

  • How do you determine the type and speed of your RAM installed what?

    * Original title: laptop RAM

    How to determine what type and speed of your RAM installed is.

    Gift little Handy dandy named Speccy.

    http://www.Piriform.com/Speccy

    Once completed its display, click on memory

  • How would you limit the upload of a file

    I don't need source code, I just want to know if a user can download, it is possible or how to limit the number of files.

    Up to now

    I can limit what types of files get downloaded.

    I can limit the extent of these files can be.


    Is it possible, or how would you limit the number of files is sent?

    -When the user makes a browse, they can select multiple files.

    It's the best I can find.

    Torn out of adobe cookbooks

    var fileList:Array = fileReferenceList.fileList;if( fileList.length > 4 ){    Alert.show("Too many files" , "Please try again with 4 or less files");}else{   for (var i:Number=0; i
    

    }

    If this post was helpful, please mark it as such.

  • How do you uninstall the narrator in Windows 7

    How do you uninstall the narrator in Windows 7

    To disable the Narrator:

    1. To open Narrator, click the Start button, and then in the search box, type narrator. In the list of results, click Narrator.

    2. Click control whether Narrator starts when I connect.

    3. Clear activate the narrator and turn on Audio Description check boxes, then click on apply. You may need to restart.

    http://Windows.Microsoft.com/en-us/Windows7/hear-text-read-aloud-with-Narrator

  • Watch does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets eg elliptical etc. is appropriate. Also does not count calories for example 35 when the rest of the group is around 500

    Look does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets etc for example elliptical is appropriate and therefore do not count toward the daily goal. Also does not count calories for example 35 when the average of the others in the group is around 500.

    Hello

    When you use the application of the training session, choose the type of activity that best fits your business. For anything else - like weight - select the other category.

    During the follow-up of one year to the next helps:

    • Activity app will credit the ring of progress of exercise with one minute for every minute of the workout.
    • Active calories will be based on the data recorded by the heart rate sensor or a brisk walk, whichever is greater.

    Note, however, that the heart rate sensor is likely to give better results for the workouts that involve rhythmic (for example running) rather than the irregular movements.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • Cell free game. How can you choose the game # you want and that you do not have a random game pop up?

    On the free cell game.  How can you choose the game number you want and you have a random number of game pop up?

    I'm running XP Pro SP3 and in my FreeCell game I can on the game in the menu bar, and then click to Select the game that pops up a small window with a place to type a number. It also indicates the shortcut as the F3 key.

  • How do you set the time and date on fax for hp officejet 4622

    How do you set the date and time on the fax for hp officejet head 4622

    Hi Chrisharrison23,

    Date and time should be under configuration tools or fax setting in the printer control panel.

    OfficeJet 4620:

    1. click on the key icon on the control panel of the printer

    2. go to tools

    3 scroll to the date and time

    I would like to know if you are able to locate the setting?

    Officejet 4622: Set the date and time

     
  • How can I control the Tasbar? It is always in sight and blocks the screens of other programs.

    How can I control the Tasbar? It is always in sight and blocks the screens of other programs. Using Windows 7 and Microsoft Security Essentials. "Lock the taskbar" is checked and "Auto-hide the taskbar" is checked. Help, please.

    Taskbar will appear to take with you when you either come from anywhere near the bottom of your screen or a security alert is displayed.

    The best I've found is to use the fullscreen with F11.

  • How do you manage file types in windows 7?

    How do you manage file types in windows 7? There was a tab for it under XP folder options. If I can't solve the problem I will downgrade to xp and back to windows 7.

    Tab file types has been removed in Windows Vista & Windows 7 and replaced by "default programs". If you need to customize the type of file to a higher level associations (for example, the addition or the change of a supplementary verb in a class file), you need to maybe use a third-party tool or change the registry manually.

    If you have a specific requirement, pls after return.

    Ramesh Srinivasan, Microsoft MVP (since 2003) for Windows desktop experience. The Winhelponline Blog http://www.winhelponline.com/blog/ (Windows 7/Vista/XP troubleshooting)

Maybe you are looking for

  • Got a new mac used.

    Hello! I had a 'new' mac and its rebootet, so he said I should install OS X Yosemite. But I need an apple ID to download it from the app store, I did an appleid and I can't download it yet! "This identifier apple has not yet been used with the app st

  • Prodesk format microtour: repetition of characters lock screen

    I just started the problem with the repeat on the lock screen button. When I do the WINDOWS and window locks L key as if it were however assume the area password fills as a key on the keyboard is pressed continuously. The solution for me is to unplug

  • Sucks TC-710 with Windows 10 random freeze

    I bought an Acer Aspire TC-710 last week and it is locking up randomly and requires a stop hard to bring it back. I have updated all the drivers that were available on the support with the exception of the BIOS ACER site. I ran also all the updates o

  • Possible registry with System/32 problem

    Try to start internet explore and other applications 'MSIMG32.dll' cannot be found or missing. How can I resolve that the sytem restore not either at any time.

  • asdfghjklasdfghjkl

    zxcvbnmasdfghjklwertyuiop