| OLD | NEW |
| 1 This is the same test as rsa-pss-sha256-salt10.pem except instead of specifying | 1 This is the same test as rsa-pss-sha256-salt10.pem except instead of specifying |
| 2 the SPKI using rsaEncryption it is specified using rsaPss along with | 2 the SPKI using rsaEncryption it is specified using rsaPss along with |
| 3 parameters that match those of the signature algorithm. | 3 parameters that match those of the signature algorithm. |
| 4 | 4 |
| 5 | 5 |
| 6 | |
| 7 -----BEGIN PUBLIC KEY----- | |
| 8 MIHRMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZ | |
| 9 IAWUDBAIBBQCiAwIBCgOBiwAwgYcCgYEAvkmbXn8GyD+gKT4xRlyOtrWK+SC65Sp7W5v+t6py2x | |
| 10 JkES6z/UMdMaKn5QlBVmkpSUoOiR7VYTkYtLUbDR+5d4Oyas99DzhM+zX00oJPXdOAYjomvxgLY | |
| 11 5YcYZ3NsgyuQG8i9uJ2yAo3JZSQz+tywacahPGEbTMId7o+MQHsnHsCARE= | |
| 12 -----END PUBLIC KEY----- | |
| 13 | |
| 14 $ openssl asn1parse -i < [PUBLIC KEY] | 6 $ openssl asn1parse -i < [PUBLIC KEY] |
| 15 0:d=0 hl=3 l= 209 cons: SEQUENCE | 7 0:d=0 hl=3 l= 209 cons: SEQUENCE |
| 16 3:d=1 hl=2 l= 65 cons: SEQUENCE | 8 3:d=1 hl=2 l= 65 cons: SEQUENCE |
| 17 5:d=2 hl=2 l= 9 prim: OBJECT :rsassaPss | 9 5:d=2 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 18 16:d=2 hl=2 l= 52 cons: SEQUENCE | 10 16:d=2 hl=2 l= 52 cons: SEQUENCE |
| 19 18:d=3 hl=2 l= 15 cons: cont [ 0 ] | 11 18:d=3 hl=2 l= 15 cons: cont [ 0 ] |
| 20 20:d=4 hl=2 l= 13 cons: SEQUENCE | 12 20:d=4 hl=2 l= 13 cons: SEQUENCE |
| 21 22:d=5 hl=2 l= 9 prim: OBJECT :sha256 | 13 22:d=5 hl=2 l= 9 prim: OBJECT :sha256 |
| 22 33:d=5 hl=2 l= 0 prim: NULL | 14 33:d=5 hl=2 l= 0 prim: NULL |
| 23 35:d=3 hl=2 l= 28 cons: cont [ 1 ] | 15 35:d=3 hl=2 l= 28 cons: cont [ 1 ] |
| 24 37:d=4 hl=2 l= 26 cons: SEQUENCE | 16 37:d=4 hl=2 l= 26 cons: SEQUENCE |
| 25 39:d=5 hl=2 l= 9 prim: OBJECT :mgf1 | 17 39:d=5 hl=2 l= 9 prim: OBJECT :mgf1 |
| 26 50:d=5 hl=2 l= 13 cons: SEQUENCE | 18 50:d=5 hl=2 l= 13 cons: SEQUENCE |
| 27 52:d=6 hl=2 l= 9 prim: OBJECT :sha256 | 19 52:d=6 hl=2 l= 9 prim: OBJECT :sha256 |
| 28 63:d=6 hl=2 l= 0 prim: NULL | 20 63:d=6 hl=2 l= 0 prim: NULL |
| 29 65:d=3 hl=2 l= 3 cons: cont [ 2 ] | 21 65:d=3 hl=2 l= 3 cons: cont [ 2 ] |
| 30 67:d=4 hl=2 l= 1 prim: INTEGER :0A | 22 67:d=4 hl=2 l= 1 prim: INTEGER :0A |
| 31 70:d=1 hl=3 l= 139 prim: BIT STRING | 23 70:d=1 hl=3 l= 139 prim: BIT STRING |
| 32 | 24 -----BEGIN PUBLIC KEY----- |
| 33 | 25 MIHRMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZ |
| 34 | 26 IAWUDBAIBBQCiAwIBCgOBiwAwgYcCgYEAvkmbXn8GyD+gKT4xRlyOtrWK+SC65Sp7W5v+t6py2x |
| 35 -----BEGIN ALGORITHM----- | 27 JkES6z/UMdMaKn5QlBVmkpSUoOiR7VYTkYtLUbDR+5d4Oyas99DzhM+zX00oJPXdOAYjomvxgLY |
| 36 MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU | 28 5YcYZ3NsgyuQG8i9uJ2yAo3JZSQz+tywacahPGEbTMId7o+MQHsnHsCARE= |
| 37 DBAIBBQCiAwIBCg== | 29 -----END PUBLIC KEY----- |
| 38 -----END ALGORITHM----- | |
| 39 | 30 |
| 40 $ openssl asn1parse -i < [ALGORITHM] | 31 $ openssl asn1parse -i < [ALGORITHM] |
| 41 0:d=0 hl=2 l= 65 cons: SEQUENCE | 32 0:d=0 hl=2 l= 65 cons: SEQUENCE |
| 42 2:d=1 hl=2 l= 9 prim: OBJECT :rsassaPss | 33 2:d=1 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 43 13:d=1 hl=2 l= 52 cons: SEQUENCE | 34 13:d=1 hl=2 l= 52 cons: SEQUENCE |
| 44 15:d=2 hl=2 l= 15 cons: cont [ 0 ] | 35 15:d=2 hl=2 l= 15 cons: cont [ 0 ] |
| 45 17:d=3 hl=2 l= 13 cons: SEQUENCE | 36 17:d=3 hl=2 l= 13 cons: SEQUENCE |
| 46 19:d=4 hl=2 l= 9 prim: OBJECT :sha256 | 37 19:d=4 hl=2 l= 9 prim: OBJECT :sha256 |
| 47 30:d=4 hl=2 l= 0 prim: NULL | 38 30:d=4 hl=2 l= 0 prim: NULL |
| 48 32:d=2 hl=2 l= 28 cons: cont [ 1 ] | 39 32:d=2 hl=2 l= 28 cons: cont [ 1 ] |
| 49 34:d=3 hl=2 l= 26 cons: SEQUENCE | 40 34:d=3 hl=2 l= 26 cons: SEQUENCE |
| 50 36:d=4 hl=2 l= 9 prim: OBJECT :mgf1 | 41 36:d=4 hl=2 l= 9 prim: OBJECT :mgf1 |
| 51 47:d=4 hl=2 l= 13 cons: SEQUENCE | 42 47:d=4 hl=2 l= 13 cons: SEQUENCE |
| 52 49:d=5 hl=2 l= 9 prim: OBJECT :sha256 | 43 49:d=5 hl=2 l= 9 prim: OBJECT :sha256 |
| 53 60:d=5 hl=2 l= 0 prim: NULL | 44 60:d=5 hl=2 l= 0 prim: NULL |
| 54 62:d=2 hl=2 l= 3 cons: cont [ 2 ] | 45 62:d=2 hl=2 l= 3 cons: cont [ 2 ] |
| 55 64:d=3 hl=2 l= 1 prim: INTEGER :0A | 46 64:d=3 hl=2 l= 1 prim: INTEGER :0A |
| 56 | 47 -----BEGIN ALGORITHM----- |
| 57 | 48 MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU |
| 49 DBAIBBQCiAwIBCg== |
| 50 -----END ALGORITHM----- |
| 58 | 51 |
| 59 -----BEGIN DATA----- | 52 -----BEGIN DATA----- |
| 60 x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK | 53 x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK |
| 61 frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf | 54 frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf |
| 62 nNV1xPnLMnlRuM3+QIcWg= | 55 nNV1xPnLMnlRuM3+QIcWg= |
| 63 -----END DATA----- | 56 -----END DATA----- |
| 64 | 57 |
| 65 | 58 $ openssl asn1parse -i < [SIGNATURE] |
| 66 | 59 0:d=0 hl=3 l= 129 prim: BIT STRING |
| 67 -----BEGIN SIGNATURE----- | 60 -----BEGIN SIGNATURE----- |
| 68 A4GBABHhafL9QLB2Qbl2iiqxmWX7bCfxD88DI/zG0S608cBrMw3aoepQRAevop3p6+A3T+nR59D | 61 A4GBABHhafL9QLB2Qbl2iiqxmWX7bCfxD88DI/zG0S608cBrMw3aoepQRAevop3p6+A3T+nR59D |
| 69 /vV/Bzzo0RuQUVBXSqyT3ibNGTFxDola7wdaSz38EgB2sW7QBpKA6t9VyioYMGeGk3Hl8pULIID | 62 /vV/Bzzo0RuQUVBXSqyT3ibNGTFxDola7wdaSz38EgB2sW7QBpKA6t9VyioYMGeGk3Hl8pULIID |
| 70 zsLmAesMUfVn8u2gIrC5693u76 | 63 zsLmAesMUfVn8u2gIrC5693u76 |
| 71 -----END SIGNATURE----- | 64 -----END SIGNATURE----- |
| 72 | |
| 73 $ openssl asn1parse -i < [SIGNATURE] | |
| 74 0:d=0 hl=3 l= 129 prim: BIT STRING | |
| OLD | NEW |