OLD | NEW |
(Empty) | |
| 1 This is the same test as rsa-pss-sha256-salt10-using-pss-key-with-params.pem |
| 2 except the hash in the PSS key's parameters has been changed from SHA-256 to |
| 3 SHA-384. |
| 4 |
| 5 |
| 6 $ openssl asn1parse -i < [PUBLIC KEY] |
| 7 0:d=0 hl=3 l= 209 cons: SEQUENCE |
| 8 3:d=1 hl=2 l= 65 cons: SEQUENCE |
| 9 5:d=2 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 10 16:d=2 hl=2 l= 52 cons: SEQUENCE |
| 11 18:d=3 hl=2 l= 15 cons: cont [ 0 ] |
| 12 20:d=4 hl=2 l= 13 cons: SEQUENCE |
| 13 22:d=5 hl=2 l= 9 prim: OBJECT :sha384 |
| 14 33:d=5 hl=2 l= 0 prim: NULL |
| 15 35:d=3 hl=2 l= 28 cons: cont [ 1 ] |
| 16 37:d=4 hl=2 l= 26 cons: SEQUENCE |
| 17 39:d=5 hl=2 l= 9 prim: OBJECT :mgf1 |
| 18 50:d=5 hl=2 l= 13 cons: SEQUENCE |
| 19 52:d=6 hl=2 l= 9 prim: OBJECT :sha256 |
| 20 63:d=6 hl=2 l= 0 prim: NULL |
| 21 65:d=3 hl=2 l= 3 cons: cont [ 2 ] |
| 22 67:d=4 hl=2 l= 1 prim: INTEGER :0A |
| 23 70:d=1 hl=3 l= 139 prim: BIT STRING |
| 24 -----BEGIN PUBLIC KEY----- |
| 25 MIHRMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAICBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZ |
| 26 IAWUDBAIBBQCiAwIBCgOBiwAwgYcCgYEAvkmbXn8GyD+gKT4xRlyOtrWK+SC65Sp7W5v+t6py2x |
| 27 JkES6z/UMdMaKn5QlBVmkpSUoOiR7VYTkYtLUbDR+5d4Oyas99DzhM+zX00oJPXdOAYjomvxgLY |
| 28 5YcYZ3NsgyuQG8i9uJ2yAo3JZSQz+tywacahPGEbTMId7o+MQHsnHsCARE= |
| 29 -----END PUBLIC KEY----- |
| 30 |
| 31 |
| 32 $ openssl asn1parse -i < [ALGORITHM] |
| 33 0:d=0 hl=2 l= 65 cons: SEQUENCE |
| 34 2:d=1 hl=2 l= 9 prim: OBJECT :rsassaPss |
| 35 13:d=1 hl=2 l= 52 cons: SEQUENCE |
| 36 15:d=2 hl=2 l= 15 cons: cont [ 0 ] |
| 37 17:d=3 hl=2 l= 13 cons: SEQUENCE |
| 38 19:d=4 hl=2 l= 9 prim: OBJECT :sha256 |
| 39 30:d=4 hl=2 l= 0 prim: NULL |
| 40 32:d=2 hl=2 l= 28 cons: cont [ 1 ] |
| 41 34:d=3 hl=2 l= 26 cons: SEQUENCE |
| 42 36:d=4 hl=2 l= 9 prim: OBJECT :mgf1 |
| 43 47:d=4 hl=2 l= 13 cons: SEQUENCE |
| 44 49:d=5 hl=2 l= 9 prim: OBJECT :sha256 |
| 45 60:d=5 hl=2 l= 0 prim: NULL |
| 46 62:d=2 hl=2 l= 3 cons: cont [ 2 ] |
| 47 64:d=3 hl=2 l= 1 prim: INTEGER :0A |
| 48 -----BEGIN ALGORITHM----- |
| 49 MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU |
| 50 DBAIBBQCiAwIBCg== |
| 51 -----END ALGORITHM----- |
| 52 |
| 53 |
| 54 -----BEGIN DATA----- |
| 55 x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK |
| 56 frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf |
| 57 nNV1xPnLMnlRuM3+QIcWg= |
| 58 -----END DATA----- |
| 59 |
| 60 |
| 61 $ openssl asn1parse -i < [SIGNATURE] |
| 62 0:d=0 hl=3 l= 129 prim: BIT STRING |
| 63 -----BEGIN SIGNATURE----- |
| 64 A4GBABHhafL9QLB2Qbl2iiqxmWX7bCfxD88DI/zG0S608cBrMw3aoepQRAevop3p6+A3T+nR59D |
| 65 /vV/Bzzo0RuQUVBXSqyT3ibNGTFxDola7wdaSz38EgB2sW7QBpKA6t9VyioYMGeGk3Hl8pULIID |
| 66 zsLmAesMUfVn8u2gIrC5693u76 |
| 67 -----END SIGNATURE----- |
OLD | NEW |