OLD | NEW |
(Empty) | |
| 1 This is the same test as rsa-pss-sha1-salt20.pem, except the public key's |
| 2 algorithm identifier has been changed from rsaEncryption (1.2.840.113549.1.1.1) |
| 3 to rsaPss (1.2.840.113549.1.1.10). |
| 4 |
| 5 |
| 6 |
| 7 -----BEGIN PUBLIC KEY----- |
| 8 MIGdMAsGCSqGSIb3DQEBCgOBjQAwgYkCgYEApW5KDnAQF1iaUYfcfqhB0Vby7A42rVKkTf6x5h9 |
| 9 62ZHYxRBW/+2xYrTA8oOhKoijlN/1JqtykcuzB86r/OCx39XNlQgJbVsri2311nHvY3fAkhyyPC |
| 10 cKcOJZjm/4nRnxBazC0/DLNfKSgOE4a29kxO8i4eHyDQzoz/siSb2aITcCAwEAAQ== |
| 11 -----END PUBLIC KEY----- |
| 12 |
| 13 $ openssl asn1parse -i < [PUBLIC KEY] |
| 14 0:d=0 hl=3 l= 157 cons: SEQUENCE |
| 15 3:d=1 hl=2 l= 11 cons: SEQUENCE |
| 16 5:d=2 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 17 16:d=1 hl=3 l= 141 prim: BIT STRING |
| 18 |
| 19 |
| 20 |
| 21 -----BEGIN ALGORITHM----- |
| 22 MA0GCSqGSIb3DQEBCjAA |
| 23 -----END ALGORITHM----- |
| 24 |
| 25 $ openssl asn1parse -i < [ALGORITHM] |
| 26 0:d=0 hl=2 l= 13 cons: SEQUENCE |
| 27 2:d=1 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 28 13:d=1 hl=2 l= 0 cons: SEQUENCE |
| 29 |
| 30 |
| 31 |
| 32 -----BEGIN DATA----- |
| 33 zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu |
| 34 jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc |
| 35 vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY |
| 36 pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A== |
| 37 -----END DATA----- |
| 38 |
| 39 |
| 40 |
| 41 -----BEGIN SIGNATURE----- |
| 42 A4GBAJB0MI+1mOlwGyKUOI5S+XH6rCtgpRRa8YXfUoe17SiH5Xzn/UTchjTkB8jg5DYLwibz7CJ |
| 43 /nZ5UY46NMfUFEhXfbrucL5V5qndZijj5FLW5wb2DxOL584Kg0Ko1Qv/uZZhKYBvGnrKN6yfcoS |
| 44 yCwtTD9mzVAPH/K5lNik4wy7M8 |
| 45 -----END SIGNATURE----- |
| 46 |
| 47 $ openssl asn1parse -i < [SIGNATURE] |
| 48 0:d=0 hl=3 l= 129 prim: BIT STRING |
OLD | NEW |