bouncycastle
Secret keys differ between Android and server
I\'m working on a one-time password application, using the hotp algorithm (RFC 4226).I\'ve got an Android app (via simulator) for otp generation, and a server-side app for validation.On their own, bot[详细]
2023-01-09 19:03 分类:问答How to read issuer String from user's public key?
I want to read issuer String from 开发者_开发知识库user\'s public key with Bouncy Castle. Is there example code or something from which I can learn?If you can obtain the certificate object, then you c[详细]
2023-01-09 15:46 分类:问答Recommended solutions to use PGP-compatible file encryption from a Java app running on Linux?
I need to replace an existing application that, among other things, will need to encrypt/decrypt/sign messages and files in a manner compatible with PGP Desktop.[详细]
2023-01-08 11:15 分类:问答What algorithm does PGP use to encrypt the private key using the passphrase?
The PGPKey开发者_开发百科RingGenerator constructor takes in a passphrase to encrypt the private key. What is the algorithm that it uses to do this? It has a field called encAlgorithm, but I couldn\'t[详细]
2023-01-08 09:38 分类:问答BouncyCastle create AsymmetricCipherKeyPair from existing keys?
I have two AssymetricAlgorithm开发者_JAVA技巧 RSA keys that I have pulled out of a certificate that was in my keystore. One is the Public Key and the other the Private. Is there a way of getting this[详细]
2023-01-07 09:18 分类:问答Add a KeyUsage extension on a Bouncycastle certificate request
Could anyone post a Java code for adding to a PKCS10 bouncycastle certificate request an extension regarding a KeyUsage (for example a KeyUsage.keyEncipherment).[详细]
2023-01-06 23:14 分类:问答From DEROctetString to KeyUsage
In bouncycastle I can create a DEROctetString starting from a KeyUsage. How can I obtain KeyUsage starting from a DEROctetString then?[详细]
2023-01-05 02:27 分类:问答Bouncy Castle RSA keypair generation using Lightweight API
Surprisingly enough there\'s very little information on the Web about using Bouncy Castle\'s lightweight API. After looking around for a while I was able to put together a basic e开发者_运维知识库xamp[详细]
2023-01-04 10:11 分类:问答How to properly use Bouncy Castle's OAEPEncoding for RSA (Lightweight API)
I\'ve been playing around with Bouncy Castle\'s implementation of RSA (Lightweight API) and got the basics figured out. Looking at their spec for JCE provider implementation I noticed that different p[详细]
2023-01-04 06:24 分类:问答PKCS10CertificationRequest creation on android
I\'m very new to android and java both, so hopefully I\'m missing something easy here.All I want to do is create a simple PKCS10[详细]
2023-01-04 04:18 分类:问答