Created
June 30, 2017 15:23
-
-
Save rquackenbush/4d37aef808794625428dfd94c4962796 to your computer and use it in GitHub Desktop.
Outputs info on an 509 chain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (var item in chain.ChainElements) | |
{ | |
_output.WriteLine($"{item.Certificate.SubjectName.Name}"); | |
foreach (var status in item.ChainElementStatus) | |
{ | |
_output.WriteLine($" {status.Status}: {status.StatusInformation}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment