-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test support pkcs7_encrypt with openssl
added algorithm to pkcs7_encrypt signature refacto: decrypt function is clearer flow is more natural refacto: added all rust error tests refacto: added another CA chain for checking
- Loading branch information
Showing
7 changed files
with
217 additions
and
45 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDFzCCAf+gAwIBAgIUbV+9yyz0+DsvQNP81cYOpdIuPUkwDQYJKoZIhvcNAQEL | ||
BQAwGjEYMBYGA1UEAwwPY3J5cHRvZ3JhcGh5IENBMCAXDTI0MDkxNjEyMDc0N1oY | ||
DzIwNTIwMjAyMTIwNzQ3WjAaMRgwFgYDVQQDDA9jcnlwdG9ncmFwaHkgQ0EwggEi | ||
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWXjSWWQr3Im5Wj2Jr80PRWA5a | ||
9Ou8fbAOnsYa9Fof+hpU8zUxUJb3QaHedQJn98/ypjglMCvamDfiObF+uxUMOPP9 | ||
MfxuLzKoYX0XFwffx4RuqxBPZQ9Mrd1+p/3CZ+/j2Up3DWmB9oGBuhlBJd2428Zz | ||
nA+TOyRt3Q4qa3oIrhR3dbJ47TU+u4qQdJ/wrcMbfKlWFY2AaO91DXZxPQdOb9Cf | ||
B97FBNqK1Jq1zXiRk/dgMfTmomKVDGRruGy5f/042KEHJB4xBamlaPOeqjnw1sEz | ||
lgGq0iVi0bbQxgLzSVZJ9zU4CatOKdzb7pfDEGsfP6Rmj4jYTiZJaabrdF7fAgMB | ||
AAGjUzBRMB0GA1UdDgQWBBQQ51DtVzCTX0l2ycbae/JWmNd8XDAfBgNVHSMEGDAW | ||
gBQQ51DtVzCTX0l2ycbae/JWmNd8XDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3 | ||
DQEBCwUAA4IBAQCHHg6wNJXIZH7YUgM7mGkw1IKIXNWSdw5mvESglk77DXuo8gxg | ||
rCgkJtQ64FuWo55cqfG5lxoOdYYIwVcEIDvEUa1/OQ+BdcX2WSVl1wnps4ZP1MWh | ||
33vtzmhcfcEYE79j8BUtSIjYpvVf5T/pxEL9DXbYkvG8PoS2YOOtQ0hoyzdMDzOd | ||
d0U2YQn2vgcXMBvpt3A32Ol5cCZRLid4NdZVTMfihGeu+r8/fpnpchS+bSJMzO5J | ||
CtO6nDrqxxQ+h7GssAmo3R7VR6Ii5e8sFV/D5E0FihgxsacSseJeGjWqJcahu9K4 | ||
GIyrSZM0hWacVlOFUJ69FbN/VNb3qNe8LS3/ | ||
-----END CERTIFICATE----- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCWXjSWWQr3Im5W | ||
j2Jr80PR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t/V1iComQKBgDpKO+NVspgRUycmTXRyGalpir3Xcx+dRJ87vVpE4Wsp6oVty9+f | ||
u9jjF811WksgkmZ/q1GdFre3FQc8hwy7hS40N4+X9YzrfB4F3K9plDyeGgb+nQiG | ||
hmCWCpTGdJ8YzqiBdzMeWDd0e7F/O63EpXOJCyeJGYWr78s31DFe4U81AoGAfXbO | ||
yVfZNq7FOGT2Lg9SX7oUtFk/wU883DXxJBvV2ywFfMIyUZHA7XE6jq0VNlf5GsJK | ||
/hAj9IirjQH2VWpwDXoatpUp8SrXmxVyNaDSYpV86uMHt7Jk6oK2x0Slyc2Cod8v | ||
45+vGMKBc5iME+Iz/wGSDCfFGWHbRFrANOG8h/ECgYEAzRfFncoM6pcmq6O6pdjX | ||
BLwjBrow40lUcHChc4ZEnmvffVYezZ6CFqjoPj1NtcgHdwbTp7uzevIDkHBG4jYG | ||
nJa3GYfx+g35K68eLahiV6Dt8qiuVHaTRadsvZCnt9+9u2HiH9TU7q4Hg/840TtN | ||
K9LHFDW6OzV7IP/Ew0sz1BM= | ||
-----END PRIVATE KEY----- |