bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

Bouncy Castle Java Distribution (Mirror)

Results 449 bc-java issues
Sort by recently updated
recently updated
newest added

While playing around with delta certificates, I noticed that BC throws an `IllegalArgumentException` when building a certificate with a delta certificate extension constructed using [DeltaCertificateTool.makeDeltaCertificateExtension()](https://github.com/bcgit/bc-java/blob/22f6fecb08df06dccbd47a833e9e942417067d06/pkix/src/main/java/org/bouncycastle/cert/DeltaCertificateTool.java#L25). This occurs when both the...

Converting this to an issue. Can we please get release notes for bc-fips 1.0.2.5 ? ### Discussed in https://github.com/bcgit/bc-java/discussions/1678 Originally posted by **sfc-gh-jzana** May 23, 2024 Hi there, I see...

I am using **bcpg-jdk18on-1.78.1.jar** and a **CryptoServer HSM JCE** (Utimaco) to decrypt PGP data. The private ECC key is stored on HSM, and the JCE provider for HSM is registred...

In JDK 21 `java.security.Signature` method the provider chooser algorithm contains this code: ```java // if provider says it does not support this key, ignore it if (key != null &&...

Hello, I am trying to move from javax.mail to jakarta.mail thanks to owner of Java Trademark. I tried to replace the bc-mail with bc-jmail but I get the following exception:...

``` public static String toHexString(byte[] input) { String result = ""; for (int i = 0; i < input.length; i++) { result += HEX_CHARS[(input[i] >>> 4) & 0x0f]; result +=...

Could the method [getExternalPSK](https://github.com/bcgit/bc-java/blob/main/tls/src/main/java/org/bouncycastle/tls/TlsServer.java#L40) in TlsServer throw a checked exception ([TlsException](https://github.com/bcgit/bc-java/blob/main/tls/src/main/java/org/bouncycastle/tls/TlsException.java) or [TlsFatalAlert](https://github.com/bcgit/bc-java/blob/main/tls/src/main/java/org/bouncycastle/tls/TlsFatalAlert.java)) ? Reason is that I'm trying to return a different TlsAlert from the server side, `unknown_psk_identity` (if...

When we upgrade bouncycastle from 1.74 to 1.78,the function: org.bouncycastle.asn1.ASN1TaggedObject#getObject has been removed. can anyone give me some suggestions, use getBaseObject instead of? e.g. code: private static Optional findByTag(List authorizationList,...

I'm using the BC TLS PSK implementation but noticing that the `TlsPeer::getHandshakeTimeoutMillis` is only supported for DTLS. Wanted to ask if there any plans to support this feature for TLS...

Hi, I'd like to be able to use HPKE with alternative KEMs, but it's currently not usable because there's no public facing KEM abstraction and HPKE currently hard codes the...