Hi all,

I want to load a key store to read a key for a given an alias. This key
store can be either in the registry or in the file system. Given the path
to this keystore what is the best way to figure out from where to load it?

I can see two options.

   1. Have the "file:" or "reg:" prefix in the key store path and filter
   based on that
   2. Try to load the file
   ​from the file system ​
   first, if the file is not found in that location try to load it from the
   registry (or vice versa)

What would be the best approach to follow?

Thanks.
/Gayashan

-- 
*Gayashan Amarasinghe*
Software Engineer | Platform TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to