File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
main/java/org/bouncycastle/asn1/x500/style
test/java/org/bouncycastle/asn1/test Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 548548< li > yuhh0328 <https://github.com/yuhh0328> - initial patch for adding ML-KEM support to TLS.</ li >
549549< li > Jan Oupický <https://github.com/Honzaik> - update to draft 13 of composite PQC signatures.</ li >
550550< li > Karsten Otto <https://github.com/ottoka> - finished the support for jdk.tls.server.defaultDHEParameters.</ li >
551+ < li > Markus Sommer <https://github.com/marsom> - BCStyle lookup table fix for jurisdiction values.</ li >
551552</ ul >
552553</ body >
553554</ html >
Original file line number Diff line number Diff line change @@ -291,9 +291,9 @@ public class BCStyle
291291 DefaultLookUp .put ("telephonenumber" , TELEPHONE_NUMBER );
292292 DefaultLookUp .put ("name" , NAME );
293293 DefaultLookUp .put ("organizationidentifier" , ORGANIZATION_IDENTIFIER );
294- DefaultLookUp .put ("jurisdictionCountry " , JURISDICTION_C );
295- DefaultLookUp .put ("jurisdictionState " , JURISDICTION_ST );
296- DefaultLookUp .put ("jurisdictionLocality " , JURISDICTION_L );
294+ DefaultLookUp .put ("jurisdictioncountry " , JURISDICTION_C );
295+ DefaultLookUp .put ("jurisdictionstate " , JURISDICTION_ST );
296+ DefaultLookUp .put ("jurisdictionlocality " , JURISDICTION_L );
297297 }
298298
299299 /**
Original file line number Diff line number Diff line change @@ -663,6 +663,10 @@ public void performTest()
663663 {
664664 fail ("padded equality test failed" );
665665 }
666+
667+ isTrue (BCStyle .INSTANCE .attrNameToOID ("jurisdictionCountry" ).equals (BCStyle .JURISDICTION_C ));
668+ isTrue (BCStyle .INSTANCE .attrNameToOID ("jurisdictionState" ).equals (BCStyle .JURISDICTION_ST ));
669+ isTrue (BCStyle .INSTANCE .attrNameToOID ("jurisdictionLocality" ).equals (BCStyle .JURISDICTION_L ));
666670 }
667671
668672 private String getValue (RDN vl )
You can’t perform that action at this time.
0 commit comments