I have the same question / problem.
I want to access the mozilla keystore (firefox and thundebird) via Java (No
Java Applet) or C#? I found the JSS/NSS Provider, but no information on how to
use it and on which way i can access the keystores. So how is it possible?
Little example Code would be
I have the same question / problem.
I want to access the mozilla keystore (firefox and thundebird) via Java (No
Java Applet) or C#? I found the JSS/NSS Provider, but no information on how to
use it and on which way i can access the keystores. So how is it possible?
Little example Code would be
I have the same question / problem.
I want to access the mozilla keystore (firefox and thundebird) via Java (No
Java Applet) or C#? I found the JSS/NSS Provider, but no information on how to
use it and on which way i can access the keystores. So how is it possible?
Little example Code would be
in the secmod.java it checks the Version of NSS:
private void fetchVersions() {
supported = nssVersionCheck(nssHandle, 3.7);
}
But the NSS Version i copied from Mozilla-Folder has verson 3.17.2.0. But this
error message seems to be that there are problems with the version.
--
- People
(personal without related private key)
-- how did you get this?
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
Am Mittwoch, 14. Januar 2015 20:30:41 UTC+1 schrieb Opa114:
in the secmod.java it checks the Version of NSS:
private void fetchVersions() {
supported = nssVersionCheck(nssHandle, 3.7);
}
But the NSS Version i copied from Mozilla-Folder has verson 3.17.2.0. But
this error message
i have the same question. i tried it withthe code from your post above. but it
returns on every check false.
Jss has only implemented the function getCACerts() which lists all CA-Certs and
getPermCerts() which lists all CA-Certs and the personal certs.
but i want to read out every single tab
Hi,
i tried this example Code from JSS
(http://mxr.mozilla.org/security/source/security/jss/org/mozilla/jss/tests/KeyStoreTest.java).
When i run the Code i getthe following error:
java.security.KeyStoreException: Mozilla-JSS not found
Caused by: java.security.NoSuchAlgorithmException:
i tried it now with JSS and there i could access the Trusted Root CAs and the
own certificates. i could remove them, too.
now i have to check if i could read the other certificates like Persons, other
and root. and i have to check exactly what certificates i get when i call the
i played a little bit with my JSS-Code. it shows me all Certificates fromm all
Tabs in the Firefox Builtin Certificate-Manager. But JSS seems to be very buggy.
First i read out 183 Certificates. After i removed one certificate and i run
the list certificates again it shows me 190 certificates.
okay i will try it by copy the files to %temp% and then try to load it up. What
are the exact dependencies which i have to copy? i've read so many different..
:(
i'm using JDK 1.8.0_25 for compiling my code.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
hi again,
yeah i googled the last days very much about this topic. so i found out the
best solution for me would be so access the softokn3.dll with PKCS#11 Provider
in java.
i tried a little bit and wrote a small code. but it does not work. i got the
Error parsing configuration, Unexpected
at 5:55 PM, Opa114 opa...@gmail.com wrote:
i tried it but get another error: Caused by: java.io.IOException: modul
not found - C:/Users/Matthias/AppData/Local/Temp/softokn3.dll
but the file is in this folder. Where is the problem?
--
dev-tech-crypto mailing list
dev-tech-crypto
i do. but i want to parse the cert8.db or maybe access this fle in an easier
way with JAVA. i have to read the file and maybe i have to remove and/or add
new certificate to it.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
Am Dienstag, 13. Januar 2015 19:04:28 UTC+1 schrieb helpcrypto helpcrypto:
Thats your mistake:
Using softokn+slot=2 will access your personal/installed certificates, not
CA/trusted ones.
Perhaps slot 1 will do, but I have never tried.
On Tue, Jan 13, 2015 at 5:19 PM, Opa114 opa
the link to Oracle Docu did not contain detailed information to all the
arguments.
yes, Personal works. a way without certutil os not possible?
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
thanks again. i have compared my code woth your peace of code you posted and i
have the same. But i still get the Error: CKR_DEVICE_ERROR
i loaded the dll's in your posted order. i copied the dll's to
C:\users\myname\AppData\Local\Temp Folder. the Mozilla Profile folder is right,
too. so don't
Am Dienstag, 13. Januar 2015 12:14:28 UTC+1 schrieb helpcrypto helpcrypto:
On Tue, Jan 13, 2015 at 12:00 PM, Opa114 opa...@gmail.com wrote:
thanks again. i have compared my code woth your peace of code you posted
and i have the same. But i still get the Error: CKR_DEVICE_ERROR
i mean the Server and CA not only own Certificates
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
could you give me a little example or hint how to parse the secmod.db? so that
i can try t access the cert8.db with SunPKCS#11?
i tried the code posted from above (DBHash.java), too.
it reads out the cert8.db- but how can i convert the data i received into a
x509 certificate? for example an
could you give me a little example or hint how to parse the secmod.db? so that
i can try t access the cert8.db with SunPKCS#11?
i tried the code posted from above (DBHash.java), too.
it reads out the cert8.db- but how can i convert the data i received into a
x509 certificate? for example an
i tried it but get another error: Caused by: java.io.IOException: modul not
found - C:/Users/Matthias/AppData/Local/Temp/softokn3.dll
but the file is in this folder. Where is the problem?
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
Thanks for it. I will read your links and try my best to access the cert8.db ;)
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
no one there who could help me to Cast from java.security.cert.X509Certificate
to org.mozilla.jss.crypto.X509Certificate ?
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
Hi there,
i have a little problem.
i want to add a certificate t the Firefox keystore this way:
X509Certificate certificate = (X509Certificate)
CertificateFactory.getInstance(X.509).generateCertificate(new
FileInputStream(src//Sohrabi.cer));
cm.importCertToPerm(certificate, testdummystuff);
i searched a little bit around and looked into the Mozilla dll's and i found
out that the Built-In Trusted Root CAs are in the nssckbi.dll, so i changed
my code to load this dll in libary in the config instead of the softokn3.dll.
Programm runs and got no error, but the Size is zero. Any idea
Hi,
when i convert the PK11InternalTokenCert to a java X509Certificate and then i
print out the certificate the public key is in this certificate as a:
org.mozilla.jss.pkcs11.PK11RSAPublicKey@17050dc, but i want it thee i clear
text and normal. How can i do this an my conversation?
i did it
Am Montag, 23. April 2007 21:35:57 UTC+2 schrieb Glen Beasley:
Dennis Sinelnikov wrote:
Hello,
Is there a way to open more than 1 NSS truststore using JSS?
Specifically, within the same lifecycle of the java application.
At this time no. The database NSS currently uses, can't be
Just a simple question: How do I convert org.mozilla.jss.pkix.cert to
org.mozilla.jss.crypto.X509Certificate?
I haveseen that there is a small notice on official JSS FAQ which says i should
use: Cryptomanager.importCertPackage()
But this method did not work. I got NoSuchItemException, because
Am Samstag, 20. Juni 2015 04:04:34 UTC+2 schrieb Ryan Sleevi:
The NSS Development Team announces the release of NSS 3.19.2
Network Security Services (NSS) is a patch release for NSS 3.19.
No new functionality is introduced in this release. This release addresses
a backwards compatibility
now i got the CloseDBs Code working and it will close the Database. But i could
not create a second or third instance of CryptoManager again. Is this possible??
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
how can i call the method: importCertPackageNative()? i got method not visible
error :(
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
i found a little bit of code and answers
(https://bugzilla.mozilla.org/show_bug.cgi?id=378615), but did not work. get
the alreadyInitializedException, too
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
Hi,
i tried to build the latest version of JSS on windows. but it did not work like
the description here:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/JSS/Build_instructions_for_JSS_4.3.x
i get the error: JavaBuild Error 2 when it tries to build the jss.jar.
but this file
Hi,
i know how ot create a new Instance of CryptoManager in Java and it all works
fine. But i want to access the Firefox and Thunderbird Key-/Certstore
simultaneously. So i have two classes for my two applications and when i create
new Objects of them i got the Exception that the Cryptomanager
Am Dienstag, 14. Juli 2015 14:45:20 UTC+2 schrieb Opa114:
Hi,
when will be a new release of JSS come out? The last Version is very old and
did not support some features of latest NSS, which are very important for me.
And the JSS should be improved, because some methods are very bad
Hi,
when will be a new release of JSS come out? The last Version is very old and
did not support some features of latest NSS, which are very important for me.
And the JSS should be improved, because some methods are very bad or not
implemented.
Any information?
--
dev-tech-crypto mailing
Hi,
can someone explain me how i use NSS and NSPR in my C++ Project? I'm new to C++
and want use in project the NSS libraries, so i thought i could include the
header files i need, but did not work, so what's the right way?
Must i compile NSS and NSPR first and the use the DLL / Libs? Would
Hi,
can someone tell me more about some technical detail. I want to know how the
private keys stored ind the key3.db are associated / linked with the
corresponding certificate stored in the cert8.db?
I could not find any detail how that was implemented. Hope someone could give
me more
Hi there,
how can i use the LIBPKIX Library on Windows? Did it everytime only compile a
*.lib file instead of a *.dll file like the nss3.dll? Everytime i try to use
the PKIX_PL_Cert_VerifySignature Function for example i got the error that the
reference to the function is undefined, which
nt to use those functions directly ?
>
> There is a public PKIX API, CERT_PKIXVerifyCert, which you should use.
>
> Julien
>
>
> On 11/9/2016 05:56, Opa114 wrote:
> > Hi there,
> >
> > how can i use the LIBPKIX Library on Windows? Did it everytime only compile
Am Dienstag, 10. Januar 2017 22:24:10 UTC+1 schrieb Robert Relyea:
> On 01/10/2017 10:18 AM, Opa114 wrote:
> > thanks, but these facts i know.
> > I don't want top let multiple applications open one Database, i want to
> > open multiple different Mozilla databases, in th
Am Mittwoch, 11. Januar 2017 14:23:45 UTC+1 schrieb John Dennis:
> On 01/11/2017 03:21 AM, Opa114 wrote:
> > Am Mittwoch, 11. Januar 2017 00:45:45 UTC+1 schrieb Robert Relyea:
> >> On 01/10/2017 02:07 PM, Opa114 wrote:
> >>> Am Dienstag, 10. Januar 2017 22:24:
Am Mittwoch, 11. Januar 2017 00:45:45 UTC+1 schrieb Robert Relyea:
> On 01/10/2017 02:07 PM, Opa114 wrote:
> > Am Dienstag, 10. Januar 2017 22:24:10 UTC+1 schrieb Robert Relyea:
> >> On 01/10/2017 10:18 AM, Opa114 wrote:
> >>> thanks, but these facts i know.
>
Hi there,
i have to use NSS in one of my applications and therefor i have to open
multiple databases (for example Firefox and Thunderbird) at once to read and
write into these. How can i do this programatically in C++? Some exmaple Code
would be very helpful because the whole NSS-Stuff is not
45 matches
Mail list logo