X.509. Структура блока с сертификатом
В xml-запроса в ГИС ГМП есть информация про сертификаты.
Информация закодирована в Base64.
Декодирование можно выполнить через notepad++, с помощью плагина Mime Tools
"1.0" encoding="UTF-8" xml version=
<KeyInfo Id="Id-keyinfo-5c8621445a37a4b2d1c1a39d42e9644ccd11">
<X509Data>
<X509Certificate>MIIIUzCCCACgAwIBAgIUAKqv5zCJ9q1j5Y1pShHGFSwu5/QwCgYIKoUDBwEBAwIw
ggFtMSAwHgYJKoZIhvcNAQkBFhF1Y19ma0Byb3NrYXpuYS5ydTEZMBcGA1UECAwQ
0LMuINCc0L7RgdC60LLQsDEaMBgGCCqFAwOBAwEBEgwwMDc3MTA1Njg3NjAxGDAW
BgUqhQNkARINMTA0Nzc5NzAxOTgzMDFgMF4GA1UECQxX0JHQvtC70YzRiNC+0Lkg
0JfQu9Cw0YLQvtGD0YHRgtC40L3RgdC60LjQuSDQv9C10YDQtdGD0LvQvtC6LCDQ
tC4gNiwg0YHRgtGA0L7QtdC90LjQtSAxMRUwEwYDVQQHDAzQnNC+0YHQutCy0LAx
CzAJBgNVBAYTAlJVMTgwNgYDVQQKDC/QpNC10LTQtdGA0LDQu9GM0L3QvtC1INC6
0LDQt9C90LDRh9C10LnRgdGC0LLQvjE4MDYGA1UEAwwv0KTQtdC00LXRgNCw0LvR
jNC90L7QtSDQutCw0LfQvdCw0YfQtdC50YHRgtCy0L4wHhcNMTkwMjA1MTIyNjQy
WhcNMjAwNTA1MTIyNjQyWjCCAcUxGjAYBggqhQMDgQMBARIMMDA3NzEwNTY4NzYw
MRgwFgYFKoUDZAESDTEwNDc3OTcwMTk4MzAxXjBcBgNVBAkMVdCR0L7Qu9GM0YjQ
vtC5INCX0LvQsNGC0L7Rg9GB0YLQuNC90YHQutC40Lkg0L/QtdGA0LXRg9C70L7Q
uiDQtC4gNiDRgdGC0YDQvtC10L3QuNC1IDExHzAdBgkqhkiG9w0BCQEWEGlzZmtA
cm9za2F6bmEucnUxCzAJBgNVBAYTAlJ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LLQ
uNGPIOKEliDQodCkLzEyOC0zNTgxINC+0YIgMjAuMTIuMjAxODAOBgNVHQ8BAf8E
BAMCA/gwEwYDVR0lBAwwCgYIKwYBBQUHAwMwKwYDVR0QBCQwIoAPMjAxOTAyMDUx
MjI2NDJagQ8yMDIwMDUwNTEyMjY0MlowggFgBgNVHSMEggFXMIIBU4AUwNbWCn1r
fsmOObzaifqvlCxYWo2hggEspIIBKDCCASQxHjAcBgkqhkiG9w0BCQEWD2RpdEBt
aW5zdnlhei5ydTELMAkGA1UEBhMCUlUxGDAWBgNVBAgMDzc3INCc0L7RgdC60LLQ
sDEZMBcGA1UEBwwQ0LMuINCc0L7RgdC60LLQsDEuMCwGA1UECQwl0YPQu9C40YbQ
sCDQotCy0LXRgNGB0LrQsNGPLCDQtNC+0LwgNzEsMCoGA1UECgwj0JzQuNC90LrQ
vtC80YHQstGP0LfRjCDQoNC+0YHRgdC40LgxGDAWBgUqhQNkARINMTA0NzcwMjAy
NjcwMTEaMBgGCCqFAwOBAwEBEgwwMDc3MTA0NzQzNzUxLDAqBgNVBAMMI9Cc0LjQ
vdC60L7QvNGB0LLRj9C30Ywg0KDQvtGB0YHQuNC4ggsAtfEy0wAAAAABWjBsBgNV
HR8EZTBjMDCgLqAshipodHRwOi8vY3JsLnJvc2them5hLnJ1L2NybC91Y2ZrX2dv
c3QxMi5jcmwwL6AtoCuGKWh0dHA6Ly9jcmwuZnNmay5sb2NhbC9jcmwvdWNma19n
b3N0MTIuY3JsMB0GA1UdDgQWBBSyvI+kz03ozCKIr5SrgkSSnCbchDAKBggqhQMH
AQEDAgNBAPoLHRmG80oAqgoFKHT4ktHhkaMzQUdAyjedpDefoZDavGgpjpgaAWtx
GHLLqUyfL6J/B/jquLMjYcUJPGwXe3w=</X509Certificate>
</X509Data>
</KeyInfo>Информация закодирована в Base64.
Декодирование можно выполнить через notepad++, с помощью плагина Mime Tools
Комментарии
Отправить комментарий