Skip to content

Commit

Permalink
13.7.26
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jul 26, 2023
1 parent 9fb84ca commit 8163425
Showing 1 changed file with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions KEP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## X.509 decode SignData

```Erlang
```Elixir
> {:ok,bin} = :file.read_file("priv/5HT.p7s")
> KEP.parseSignData bin
{{:"certAttrs", "1786046", "СОХАЦЬКИЙ МАКСИМ ЕРОТЕЙОВИЧ",
Expand All @@ -15,57 +15,6 @@
"", "АЦСК", 'UA', "Київ"}}
```

## X.509 decode Cert

```Erlang
{{:"certAttrs", "8", "А0 Адміністратор Тестовий",
"Адміністратор Тестовий", "А0",
"ДП \"Інфотех\"34_ТЕСТ", "Адміністратор",
"Відділ розробки інформаційних систем", 'UA',
"Київ"},
{:"certAttrs", "UA-00015622-2012", "АЦСК МВС України (ТЕСТ)",
"", "",
"Міністерство внутрішніх справ України", "",
"Департамент інформаційних технологій",
'UA', "Київ"},
[
subjectKeyIdentifier: [
<<33, 173, 19, 32, 70, 1, 81, 17, 70, 101, 22, 104, 149, 193, 81, 68, 44,
51, 97, 255, 25, 32, 89, 34, 21, 29, 64, 166, 8, 148, 81, 30>>
],
authorityKeyIdentifier: [
<<199, 135, 206, 81, 158, 165, 41, 3, 146, 14, 164, 157, 92, 172, 74, 104,
243, 247, 233, 222, 181, 197, 233, 92, 122, 205, 167, 37, 144, 171, 44, 161>>
],
privateKeyUsagePeriod: ["20200803210000Z", "20210803210000Z"],
keyUsage: [<<6, 192>>],
certificatePolicies: {1, 2, 804, 2, 1, 1, 1, 2, 2},
basicConstraints: [],
qcStatements: {1, 2, 804, 2, 1, 1, 1, 2, 1},
subjectAltName: [
"[email protected]",
{{1, 3, 6, 1, 4, 1, 19398, 1, 1, 4, 1}, "+38 (0 67) 663-18-70"},
{{1, 3, 6, 1, 4, 1, 19398, 1, 1, 4, 2},
"04050, м. Київ, вул. Дегтярівська, 15Б"}
],
cRLDistributionPoints: ["http://cat.mvs.gov.ua/download/crls/CA-C787CE51-Full.crl"],
freshestCRL: ["http://cat.mvs.gov.ua/download/crls/CA-C787CE51-Delta.crl"],
authorityInfoAccess: [
{{1, 3, 6, 1, 5, 5, 7, 48, 2},
"http://cat.mvs.gov.ua/download/certificates/cat.p7b"},
{{1, 3, 6, 1, 5, 5, 7, 48, 1}, "http://cat.mvs.gov.ua/services/ocsp/"}
],
subjectInfoAccess: [
{{1, 3, 6, 1, 5, 5, 7, 48, 3}, "http://cat.mvs.gov.ua/services/tsp/"}
],
subjectDirectoryAttributes: [
{{1, 2, 804, 2, 1, 1, 1, 11, 1, 4, 11, 1}, "19950415-00026"},
{{1, 2, 804, 2, 1, 1, 1, 11, 1, 4, 1, 1}, "1234006530"},
{{1, 2, 804, 2, 1, 1, 1, 11, 1, 4, 2, 1}, "31239034"}
]
]}
```

## Credits

Максим Сохацький

0 comments on commit 8163425

Please sign in to comment.