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

I am trying to parse a RawTransaction Data using : https://github.com/CoboVault/cobo-vault-cold/blob/master/coinlib/src/main/java/com/cobo/coinlib/coins/ETH/SolidityType.java#L303 But when I try to pass 08414243445f454647 - it throws "org.bouncycastle.util.encoders.DecoderException: exception decoding Hex string: invalid characters encountered in...

**Code:** `import java.net.URL; import java.io.InputStream; public class BCExample { public static void main(String[] args){ if (args.length != 1) { System.out.println("Usage: "+BCExample.class.getName()+" "); System.out.println("Example: java -Djdk.tls.trustNameService=true BCExample https://login.microsoftonline.us"); System.exit(1); } try{...

Hi, I'm in the process of moving a project from classpath to modulepath. I got a compile error which boils down to `CMSEnvelopedData` public constructor taking a `ContentInfo` argument https://github.com/bcgit/bc-java/blob/36e75a9a26479420d44008cefd28de2f2db083c3/pkix/src/main/java/org/bouncycastle/cms/CMSEnvelopedData.java#L68...

The same code snippet reads the first element of the ASN1Sequence structure in signedValue. der. Since the first element has a large number of bytes, the first 100 bytes are...

Hybrid public key encryption is a well-known cryptographic construction that allows a sender to encrypt arbitrarily-sized messages under a receiver’s public key. ECIES, for example, is one variant of this...

Can you add the support of RFC 9266: Channel Bindings for TLS 1.3? - https://datatracker.ietf.org/doc/html/rfc9266 Little details, to know easily: - tls-unique for TLS =< 1.2 - tls-exporter for TLS...

Hello, When upgrading to BC 1.71 with jdk18on version, we have noticed a large performance downgrade when loading a PKCS12 KeyStore with BC provider. With default Java provider and BC...

**java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/datatransfer/Transferable;** public void getBlahblah(InputStream input) throws Exception { Properties properties = System.getProperties(); Session session = Session.getDefaultInstance(properties, null); **MimeMessage msg = new MimeMessage(session, input);** SMIMESigned signedMessage; I...

Hey! As far as I can tell, BC is missing support for some algorithms. Also, there are ambiguities regarding the used curve OIDs. Here are my observations, note that I'm...

![grafik](https://user-images.githubusercontent.com/464029/181878829-aa920e6e-6b99-4e73-b759-b8844cd15af8.png) https://repo1.maven.org/maven2/org/bouncycastle/bcjmail-jdk15to18/1.71/bcjmail-jdk15to18-1.71.pom I think the jakarta dependencies would have to be used here with the scope provided. Otherwise they will also end up in the runtime dependencies and possibly overwrite...