Skip to content

Commit

Permalink
Pretty print organizationIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Jun 21, 2020
1 parent cdf09f7 commit 0378a30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/compare_mozilla.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fn stringify_x500name(subject: &[u8]) -> String {
&[0x55, 0x04, 0x09] => "STREET",
&[0x55, 0x04, 0x0a] => "O",
&[0x55, 0x04, 0x0b] => "OU",
&[0x55, 0x04, 0x61] => "organizationIdentifier",
&[0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01, 0x19] => "domainComponent",
&[0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09, 0x01] => "emailAddress",
_ => panic!("unhandled x500 attr {:?}", oid)
Expand Down

0 comments on commit 0378a30

Please sign in to comment.