Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> dbms_crypto_toolkit problem

dbms_crypto_toolkit problem

From: Bartkowiak Andrzej <garbage0_at_poczta.onet.pl>
Date: Sat, 6 Dec 2003 22:11:43 +0100
Message-ID: <bqtgpi$dmo$1@nemesis.news.tpi.pl>


Hello,
Does anybody know how to use DBMS_CRYPTO_TOOLKIT package (e.g. OpenWallet function)? This
is what I had done (without positive effects): 1. Create wallet in Wallet Manager
2. Save wallet in "C:\Documents and Settings\Adm\Oracle\Wallets" folder with password "password123"
3. Set WALLET_LOCATION parameter in listener.ora: WALLET_LOCATION= (SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=C:\Documents and Settings\Adm\Oracle\Wallets)))
4. Execute PL/SQL script:

declare
  wallet dbms_crypto_toolkit.Wallet;
  persona_list dbms_crypto_toolkit.Persona_List; begin
  dbms_crypto_toolkit.Initialize;
  dbms_crypto_toolkit.OpenWallet('password123', wallet, persona_list,'default:'); -- This is the line I've got an error  ...
  dbms_crypto_toolkit.CloseWallet(wallet);   dbms_crypto_toolkit.Terminate;
end;

and I've got ORA-28759 Cannot open file.

Thanks for any help,
Andrew Received on Sat Dec 06 2003 - 15:11:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US