What happen to my setting??????

I try to type in this line using the JCE
java -classpath ".:/usr/java1.2/jre/lib/ext/jce1_2_2.jar:/usr/java1.2
/e/lib/ext/sunjce_provider.jar" Blowfishkey
i got the error
Exception in thread "main" java.security.NoSuchAlgorithmException: Algorithm Blo
wfish not available
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.security.GeneralSecurityException.<init>(GeneralSecurityExceptio
n.java:48)
at java.security.NoSuchAlgorithmException.<init>(NoSuchAlgorithmExceptio
n.java:45)
at javax.crypto.SunJCE_b.a(Compiled Code)
at javax.crypto.KeyGenerator.getInstance(DashoA6275)
at Blowfishkey.main(Blowfishkey.java:32)
can somebody tell me what happen?? I run the program in Solaris 8.
Pls help....!!!!I'm dying...

i dont know for unix but do this for win
Hi
I assume you use j2sdk1.4.2-02
You should first download change the policy of the JCE
By downloading this
http://java.sun.com/j2se/1.4.2/download.html
just JCE a and unzip in a folder read the read me doc so u should cut that 2 file and put here
C:\j2sdk1.4.2_02\jre\lib\security
and here
C:\Program Files\Java\j2re1.4.2_02\lib\security
done this then download the bouncy jar file from
http://www.bouncycastle.org/latest_releases.html
take the bcprov-jdk14-120.jar and put in following directories
C:\j2sdk1.4.2_02\jre\lib\ext
C:\Program Files\Java\j2re1.4.2_02\lib\ext
then u need to change the environment variable so in
the following directories open "java.security" in both
C:\j2sdk1.4.2_02\jre\lib\security
C:\Program Files\Java\j2re1.4.2_02\lib\security
and edit it and add the extra line
security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
save it done this
to see whether its install or not
try do run this program
import java.security.Provider;
import java.security.Security;
import java.util.Set;
import java.util.Iterator;
public class ProviderInformation {
public static void main(String[] args) {
Provider[] providers = Security.getProviders();
for (int i = 0; i < providers.length; i++) {
Provider provider = providers;
System.out.println("Provider name: " + provider.getName());
System.out.println("Provider information: " + provider.getInfo());
System.out.println("Provider version: " + provider.getVersion());
Set entries = provider.entrySet();
Iterator iterator = entries.iterator();
while (iterator.hasNext()) {
System.out.println("Property entry: " + iterator.next());
u should have some result that show I just cut part of the out put so u can get full out put
�..
��.
Provider version: 1.0
Property entry: GssApiMechanism.1.2.840.113554.1.2.2=sun.security.jgss.krb5.Krb5MechFactory
Provider name: BC
Provider information: BouncyCastle Security Provider v1.20
Provider version: 1.2
Property entry: Alg.Alias.Cipher.RSA//NOPADDING=RSA
Property entry: Alg.Alias.SecretKeyFactory.PBEWITHHMACRIPEMD160=PBE/PKCS12
Property entry: KeyFactory.ECDSA=org.bouncycastle.jce.provider.JDKKeyFactory$ECDSA
Property entry: Alg.Alias.Signature.RMD160withRSA=RIPEMD160WithRSAEncryption
Property entry: AlgorithmParameterGenerator.1.2.840.113549.3.7=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DES
Property entry: Alg.Alias.Mac.HMAC/Tiger=HMACTiger
Property entry: AlgorithmParameterGenerator.1.2.840.113533.7.66.10=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$CAST5
Property entry: AlgorithmParameterGenerator.1.2.840.113549.3.2=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$RC2
Property entry: Alg.Alias.SecretKeyFactory.1.3.14.3.2.26=PBE/PKCS12
Property entry: Cipher.1.2.840.113549.3.7=org.bouncycastle.jce.provider.JCEBlockCipher$DESedeCBC
�������..
������������..
��������������
wish u luck

Similar Messages

  • Whats happening to my set-cookie header?

    I'm writing a desktop client for a Django app running on an https domain.
    I'm attempting to retrieve cookies set by the django site when I call the site using URLRequest as follows:
    var urlVariables = new air.URLVariables();
    urlVariables.foo = "bar"
    var request = new air.URLRequest("https://www.example.com/api/foo/");
    request.data = urlVariables;
    request.method = air.URLRequestMethod.POST;
    var loader = new air.URLLoader();
    loader.addEventListener(air.HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpStatusHandler);
    loader.addEventListener(air.Event.COMPLETE, completeHandler);
    loader.addEventListener(air.IOErrorEvent.IO_ERROR, ioErrorHandler);
    loader.load(request);
    However if I loop over the headers returned by the site like so...
    function httpStatusHandler(event){
        for(var i=0; i<event.responseHeaders.length; i++){
           air.trace(event.responseHeaders[i].name);
    ...I discover that that the Set-Cookies header is conspicuously absent.
    Is this a deliberate security restriction for calls to HTTPS sites? I'm completely baffled.
    Any help appreciated.

    Go into the System Preferences and click on Users & Groups. Try creating a new user account and then log into it to see if you have the same issues. Since your hard drive appears to be fine with plenty of space on it, and you have no major permission's issues, creating a new user for test purposes will help confirm whether you are dealing with some sort of software issue. Did you recently install some new software?
    If a new user account resolves the issue then open the Activity Monitor application located in the Applications/Utiliteis folders and click on the CPU button. In the lower left corner you should see a summary listing the % User, % System, % Idle. What are these percentages? If the CPU idle percentage is near zero then you have a process running that is consuming your SPU time. To try and find it pull down the menu to select 'All Processes', then click on the %CPU column to sort by the percent that each process is consuming your CPU.   The numbers constantly change, but do your best to see if there are one or two processes consuming the majority of the CPU time and post the names. Then do the same test in the new user account. I suspect you may have some process from a previously installed utility, virus checker, etc. that is keeping your system busy. I've included a screenshot from my system below. It doesn't have much going on, and as you can see in the lower left corner the CPU is basically idle most of the time. If I were to launch a CPU intensive app the numbers would change dramatically.

  • Does anyone know what happened to this Setting?

    Setting>Spaces>Medium Spaces>Indoor Spaces>1.9s Jazz Club. 
    I've used it on other songs of mine, but now it's gone (along with a bunch of other settings.)
    Thanks!

    Hey Hey Thanks a lot!:) I was so frusterated with the problem that I didn't even look there..LOL! Thanks again.

  • What happens if you set up you mac email 17 years ago and forgot the answers to your security questions?

    I started my mac email account 17 years ago and I can't remember my security question answers so I can change my password. What can I do?

    You need to ask Apple to reset your security questions; ways of doing so include clicking here and picking a method for your country, and filling out and submitting this form.
    (96139)

  • What happens when I set attenuatio​n values in 5660 vis

    Hello,
    I am using the 5660 vis and I noticed that you can use auto attenuation or you can set your own attenuation values.  When I disable auto attenuation and try to set my own values I never see a difference in my SA display.  Is this correct behavior?
    Thanks!

    Hello ness4,
    The Auto mode sets the mixer level for you.
    For all reference levels > -20dB, the mixer level gets
    set to -20dBm.
    For all reference levels <=-20dB, the mixer level is
    equal to the reference level.
    Basically, for reference levels >-20dB, the attenuation
    can be calculated using the formula in the attached screenshot.
    For reference levels <=-20dB, the attenuation is set to
    0.
    Message Edited by Robert F on 01-02-2008 04:17 PM
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments
    Attachments:
    RFSA_Attenuation_Help.png ‏11 KB

  • HT1414 what happens when child sets a lock and your iPad becomes disabled because we don't know passcode

    What do you do when your child enters a pass code and forgets it therefore leaving the message "iPad is disabled connect to iTunes?"

    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • Dynamic interface ip addtress setted to 0.0.0.0 what happens?

    hi guys,
    what happen if i set the IP address of a dynamic interface to 0.0.0.0?
    can I associate a WLAN to this interface?
    will WLAN+Dyn interface work as a layer 2 VLAN?
    thx

    hi Dan
    thx for your reply.
    this is what i would like happen. I explain better.
    I need a wireless guest LAN completely separated from my network with dhcp on the same subnet but this subnet does'n have a private L3 address because is connected directly to internet (clients get public ip addresses) but i'm not sure it can work with controller. 

  • What happens when I restore data to a non-factory set iPhone?

    Okay, another iCloud question. What I did was basically delete a game, start a new one, and now I want my old game back (saved to ICloud). What happens when I restore full data to a non-factory set iPhone? Will it overwrite current data? Will it delete everything? I just want to know, I'm such an iOS noob. :-/

    A restore is all or nothing.
    If a backup is restored to the device, ALL data currently on the device is wiped and replaced with the data from the backup.
    Restoring a backup to get one saved game back seems rather extreme and silly.

  • I just set up my Iphone and I set up Icloud.  Now I don't have my contacts in my phone.  What happened to them?

    I just set up my Iphone and after doing so set up Icloud.  Now I don't have any contacts in my Iphone.  What happened to them?

    If you just set up your iPhone, where did the contacts on your iPhone come from?
    When you manually turned contacts on for over the air syncing with your iCloud account, if the Contacts app had any contacts you should have been provided a merge, replace, or keep prompt.

  • In Labview 8.5, what happens if the signal input exceeds the signal input range set by the DAQ Assistant?

    Hello all,
    This should be a pretty simple question, but I can't seem to find the answer on-line and don't currently have the capabilities to test this:
    I'm using LabVIEW 8.5 and have a VI that imports sensor data through the DAQ Assistant. In the configuration tab there is a signal input range. What happens if my sensor exceeds this range? Will I get a warning? Will the value default to the maximum (or minimum)? I was interested in writing in some code to display an error as I approach the limits of this range, but was unsure if I also needed to include some code to display an error if the range is exceeded as well.
    Thanks for the help,
    Tristan
    Solved!
    Go to Solution.

    Hello Tristan,
    The behavior depends on the range you choose and the device you are using.
    If you are using a device with only one valid input range, we will use this range even if you set a smaller minimum and maximum in the DAQ Assistant.  Thus, if your device only supports ±10V and you set the range to ±8V, you will still continue to get valid data after your sensor exceeds 8V until you approach 10V.  Once you reach the limit of the range of your device, the output will "rail" and just return the maximum value until the signal drops below the maximum again.
    Note: A device that is nominally ±10V usually has some overshoot (like ±10.2V) that is typically specced in the manual.
    However, if you are using a device with multiple input ranges then things get more complex.
    The NI-DAQmx drive will pick the smallest range that fully encompasses the range you choose.  So, suppose your device supports the following input ranges: ±0.2V, ±1, ±5V, and ±10V and you choose 0V - 3V as the range in the DAQ assistant.  The NI-DAQmx driver is going to look at your input range and the list of input ranges that your hardware supports and choose the smallest that encompasses the full range you set.  This would the ±5V, because that's the only range that contains up to 3V.  As a result, any input signal between ±5V will be returned and any outside this range will "rail" to either the maximum or minimum value.
    We do this because using smaller ranges make more effective use of the resolution of the ADC.  Thus we try to use the most efficient range based on what you request without picking a range that will cause you to miss data.
    Let me know if I can clarify this further. 
    Seth B.
    Staff Test Engineer | National Instruments
    Certified LabVIEW Developer
    Certified TestStand Developer
    “Engineers like to solve problems. If there are no problems handily available, they will create their own problems.”- Scott Adams

  • What happens when your iphone charger sets on fire and you tell apple about it ?.

    what happens when your iphone charger sets on fire and you tell apple about it ?.

    They make a decision. How did you tell Apple about it?

  • What happens if I don't set a client id for durable subscribers?

    What happens if I don't set a client id for durable subscribers?

    If you do not set a clientID in 2.0, it will automatically set a clientID for
    you. This means that you MUST unsubscribe the durable subscriber on the same
    host (since otherwise the clientID's will be different)
    In general, its good practice to set a client ID anytime you are using durables
    (so that you have some control).

  • If i reset the network setting on my iphone4s what happens? will it erase everything

    if i reset the network setting on my iphone4s what happens? will it erase everything? my wi-fi doesnt work

    If you do a restore on the ipod, it only affects the ipod.  Everything on the ipod is erased, but itunes and everything in itunes and on your computer will still be there.
    The restore will only erase you ipod.

  • What happens to calls when voice mail is not set up?

    Odd question...what happens to calls placed to a number that does not have the voice mail set-up yet?  Do they show up as missed calls or anywhere in the call log for that number?  Or is it like the call never happened because it was not answered and could not go to voice mail?  Also curious as to whether or not missed calls show up on the phone once it is powered back on after having been shut off (powered all the way down).  I realize those calls will go to voice mail (provided it has been set-up) but will the calls show up as missed on the phone when it is turned back on?

    Not odd...On Verizon if it is not set up, you will hear a recording that says "Im sorry, but the party you are trying to reach has a vm box that has not been set up yet". It will show as missed if the phone is on, and will appear in the log if the phone is on. If the phone is powered off, the call does not show in the log when turned back on. It will appear as if it never happened. You will only know if you get a VM (if its set up) or if the person tells you, hey I called you!

  • TS4009 I lost my folders I had set up on iCloud webmail. They disappeared what happened?

    I lost my folders I had set up on iCloud webmail. They disappeared what happened?

    Sounds like one unit had iOS 5, the other had iOS 4. Unfortunately it happens that some units are shipped from the factory at different times with different Operatin Systems installed.
    Stedman

Maybe you are looking for