Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country field with more than two English characters. #2011

Open
onepeople158 opened this issue Mar 4, 2025 · 0 comments
Open

Country field with more than two English characters. #2011

onepeople158 opened this issue Mar 4, 2025 · 0 comments

Comments

@onepeople158
Copy link

Main content:
Hello Developer, I have a CRL file where the Country value in the Issuer field is "USA." Normally, ISO 3166-1 specifies two English characters to represent a country name. Bouncy Castle 1.79 successfully printed the Issuer field information of this CRL file without any errors. So I would like to ask if this is a bug.

Version of Bouncy Castle used:

(bcprov-jdk18on-1.79.jar:bcpkix-jdk18on-1.79.jar)

Computer system:
Ubuntu

How reproducible:

javac -cp ".:bcprov-jdk18on-1.79.jar:bcpkix-jdk18on-1.79.jar" CRLParserExample_USA_issuer.java
java -cp ".:bcprov-jdk18on-1.79.jar:bcpkix-jdk18on-1.79.jar" CRLParserExample_USA_issuer

Test case:

test_USA.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant