bc-java
bc-java copied to clipboard
Bouncy Castle Java Distribution (Mirror)
Currently, the Bouncy Castle FIPS KeyStore (BCFKS) lacks a direct mechanism for storing generic passwords or password-based encryption (PBE) keys. The common workaround is to store a password as an...
As can be seen in reproduction scenario [marnix/eddsa-keyspec-bc-fips](https://github.com/marnix/eddsa-keyspec-bc-fips/tree/v1), when using bc-fips-2.0.0.jar **without the SunEC provider**, on Java 17, a BCFIPS `EdDSA` `KeyFactory` cannot generate a public key based on a...
createSocket with consumed InputStream and com.sun.net.ssl.requireCloseNotify throws SocketException
When the createSocket factory method is used with a non-null `InputStream consumed` argument, a [SequenceInputStream is created](https://github.com/bcgit/bc-java/blob/main/tls/src/main/java/org/bouncycastle/jsse/provider/ProvSSLSocketWrap.java#L593). One consideration with using SequenceInputStream is the following > After each input stream...
The bcpkix javadoc can be improved. To use the CMS parsers and generators responsibly, the application programmer needs the protocol around closing the supplied underlying input and output streams. This...
# JSSE Provider: Handshake session data does not persist to final session ## Description The BC JSSE provider's handshake session allows storing application data via `putValue()`, but this data is...
I used following steps to build the bcprov-jdk18on-1.81.jar 1) cloned the https://github.com/bcgit/bc-java/tree/main. 2) Using JDK 17 and Gradle, built using inside prov folder ./gradlew clean build. Please let me know,...
When the p and q values of a Diffie-Hellman server key exchange is not found in the groups supported by bouncy castle, an insufficent security 71 is encountered. It seems...
I am trying to use Bouncy castle in Java 5 to support TLS 1.2 for JDBC connection. Based on the documentation, I can't figure out how to achieve this, since...
Just trying to work out what maven entries are required to use bouncy castle and its not at all clear. It would be great if you could documented the dependencies...