@@ -696,10 +696,66 @@ public void ConfigureEndpoint_ThrowsWhen_The_KeyIsPublic()
696696 [ InlineData ( "https-dsa.pem" , "https-dsa-protected.key" , "test" ) ]
697697 [ InlineData ( "https-dsa.crt" , "https-dsa.key" , null ) ]
698698 [ InlineData ( "https-dsa.crt" , "https-dsa-protected.key" , "test" ) ]
699- [ InlineData ( "https-mldsa44.pem" , "https-mldsa44.key" , "aspnetcore" ) ]
699+ [ InlineData ( "https-mldsa44.pem" , "https-mldsa44.key" , null ) ]
700700 [ InlineData ( "https-mldsa44.pem" , "https-mldsa44-protected.key" , "aspnetcore" ) ]
701- [ InlineData ( "https-mldsa44.crt" , "https-mldsa44.key" , "aspnetcore" ) ]
701+ [ InlineData ( "https-mldsa44.crt" , "https-mldsa44.key" , null ) ]
702702 [ InlineData ( "https-mldsa44.crt" , "https-mldsa44-protected.key" , "aspnetcore" ) ]
703+ [ InlineData ( "https-mldsa65.pem" , "https-mldsa65.key" , null ) ]
704+ [ InlineData ( "https-mldsa65.pem" , "https-mldsa65-protected.key" , "aspnetcore" ) ]
705+ [ InlineData ( "https-mldsa65.crt" , "https-mldsa65.key" , null ) ]
706+ [ InlineData ( "https-mldsa65.crt" , "https-mldsa65-protected.key" , "aspnetcore" ) ]
707+ [ InlineData ( "https-mldsa87.pem" , "https-mldsa87.key" , null ) ]
708+ [ InlineData ( "https-mldsa87.pem" , "https-mldsa87-protected.key" , "aspnetcore" ) ]
709+ [ InlineData ( "https-mldsa87.crt" , "https-mldsa87.key" , null ) ]
710+ [ InlineData ( "https-mldsa87.crt" , "https-mldsa87-protected.key" , "aspnetcore" ) ]
711+ [ InlineData ( "https-slhdsa-sha2-128s.pem" , "https-slhdsa-sha2-128s.key" , null ) ]
712+ [ InlineData ( "https-slhdsa-sha2-128s.pem" , "https-slhdsa-sha2-128s-protected.key" , "aspnetcore" ) ]
713+ [ InlineData ( "https-slhdsa-sha2-128s.crt" , "https-slhdsa-sha2-128s.key" , null ) ]
714+ [ InlineData ( "https-slhdsa-sha2-128s.crt" , "https-slhdsa-sha2-128s-protected.key" , "aspnetcore" ) ]
715+ [ InlineData ( "https-slhdsa-sha2-128f.pem" , "https-slhdsa-sha2-128f.key" , null ) ]
716+ [ InlineData ( "https-slhdsa-sha2-128f.pem" , "https-slhdsa-sha2-128f-protected.key" , "aspnetcore" ) ]
717+ [ InlineData ( "https-slhdsa-sha2-128f.crt" , "https-slhdsa-sha2-128f.key" , null ) ]
718+ [ InlineData ( "https-slhdsa-sha2-128f.crt" , "https-slhdsa-sha2-128f-protected.key" , "aspnetcore" ) ]
719+ [ InlineData ( "https-slhdsa-sha2-192s.pem" , "https-slhdsa-sha2-192s.key" , null ) ]
720+ [ InlineData ( "https-slhdsa-sha2-192s.pem" , "https-slhdsa-sha2-192s-protected.key" , "aspnetcore" ) ]
721+ [ InlineData ( "https-slhdsa-sha2-192s.crt" , "https-slhdsa-sha2-192s.key" , null ) ]
722+ [ InlineData ( "https-slhdsa-sha2-192s.crt" , "https-slhdsa-sha2-192s-protected.key" , "aspnetcore" ) ]
723+ [ InlineData ( "https-slhdsa-sha2-192f.pem" , "https-slhdsa-sha2-192f.key" , null ) ]
724+ [ InlineData ( "https-slhdsa-sha2-192f.pem" , "https-slhdsa-sha2-192f-protected.key" , "aspnetcore" ) ]
725+ [ InlineData ( "https-slhdsa-sha2-192f.crt" , "https-slhdsa-sha2-192f.key" , null ) ]
726+ [ InlineData ( "https-slhdsa-sha2-192f.crt" , "https-slhdsa-sha2-192f-protected.key" , "aspnetcore" ) ]
727+ [ InlineData ( "https-slhdsa-sha2-256s.pem" , "https-slhdsa-sha2-256s.key" , null ) ]
728+ [ InlineData ( "https-slhdsa-sha2-256s.pem" , "https-slhdsa-sha2-256s-protected.key" , "aspnetcore" ) ]
729+ [ InlineData ( "https-slhdsa-sha2-256s.crt" , "https-slhdsa-sha2-256s.key" , null ) ]
730+ [ InlineData ( "https-slhdsa-sha2-256s.crt" , "https-slhdsa-sha2-256s-protected.key" , "aspnetcore" ) ]
731+ [ InlineData ( "https-slhdsa-sha2-256f.pem" , "https-slhdsa-sha2-256f.key" , null ) ]
732+ [ InlineData ( "https-slhdsa-sha2-256f.pem" , "https-slhdsa-sha2-256f-protected.key" , "aspnetcore" ) ]
733+ [ InlineData ( "https-slhdsa-sha2-256f.crt" , "https-slhdsa-sha2-256f.key" , null ) ]
734+ [ InlineData ( "https-slhdsa-sha2-256f.crt" , "https-slhdsa-sha2-256f-protected.key" , "aspnetcore" ) ]
735+ [ InlineData ( "https-slhdsa-shake-128s.pem" , "https-slhdsa-shake-128s.key" , null ) ]
736+ [ InlineData ( "https-slhdsa-shake-128s.pem" , "https-slhdsa-shake-128s-protected.key" , "aspnetcore" ) ]
737+ [ InlineData ( "https-slhdsa-shake-128s.crt" , "https-slhdsa-shake-128s.key" , null ) ]
738+ [ InlineData ( "https-slhdsa-shake-128s.crt" , "https-slhdsa-shake-128s-protected.key" , "aspnetcore" ) ]
739+ [ InlineData ( "https-slhdsa-shake-128f.pem" , "https-slhdsa-shake-128f.key" , null ) ]
740+ [ InlineData ( "https-slhdsa-shake-128f.pem" , "https-slhdsa-shake-128f-protected.key" , "aspnetcore" ) ]
741+ [ InlineData ( "https-slhdsa-shake-128f.crt" , "https-slhdsa-shake-128f.key" , null ) ]
742+ [ InlineData ( "https-slhdsa-shake-128f.crt" , "https-slhdsa-shake-128f-protected.key" , "aspnetcore" ) ]
743+ [ InlineData ( "https-slhdsa-shake-192s.pem" , "https-slhdsa-shake-192s.key" , null ) ]
744+ [ InlineData ( "https-slhdsa-shake-192s.pem" , "https-slhdsa-shake-192s-protected.key" , "aspnetcore" ) ]
745+ [ InlineData ( "https-slhdsa-shake-192s.crt" , "https-slhdsa-shake-192s.key" , null ) ]
746+ [ InlineData ( "https-slhdsa-shake-192s.crt" , "https-slhdsa-shake-192s-protected.key" , "aspnetcore" ) ]
747+ [ InlineData ( "https-slhdsa-shake-192f.pem" , "https-slhdsa-shake-192f.key" , null ) ]
748+ [ InlineData ( "https-slhdsa-shake-192f.pem" , "https-slhdsa-shake-192f-protected.key" , "aspnetcore" ) ]
749+ [ InlineData ( "https-slhdsa-shake-192f.crt" , "https-slhdsa-shake-192f.key" , null ) ]
750+ [ InlineData ( "https-slhdsa-shake-192f.crt" , "https-slhdsa-shake-192f-protected.key" , "aspnetcore" ) ]
751+ [ InlineData ( "https-slhdsa-shake-256s.pem" , "https-slhdsa-shake-256s.key" , null ) ]
752+ [ InlineData ( "https-slhdsa-shake-256s.pem" , "https-slhdsa-shake-256s-protected.key" , "aspnetcore" ) ]
753+ [ InlineData ( "https-slhdsa-shake-256s.crt" , "https-slhdsa-shake-256s.key" , null ) ]
754+ [ InlineData ( "https-slhdsa-shake-256s.crt" , "https-slhdsa-shake-256s-protected.key" , "aspnetcore" ) ]
755+ [ InlineData ( "https-slhdsa-shake-256f.pem" , "https-slhdsa-shake-256f.key" , null ) ]
756+ [ InlineData ( "https-slhdsa-shake-256f.pem" , "https-slhdsa-shake-256f-protected.key" , "aspnetcore" ) ]
757+ [ InlineData ( "https-slhdsa-shake-256f.crt" , "https-slhdsa-shake-256f.key" , null ) ]
758+ [ InlineData ( "https-slhdsa-shake-256f.crt" , "https-slhdsa-shake-256f-protected.key" , "aspnetcore" ) ]
703759 public void ConfigureEndpoint_CanLoadPemCertificates ( string certificateFile , string certificateKey , string password )
704760 {
705761 var serverOptions = CreateServerOptions ( ) ;
0 commit comments