Refactor WebsiteSettings to operate on a SecurityInfo
[chromium-blink-merge.git] / net / data / verify_signed_data_unittest / rsa-pss-sha256-salt10-using-pss-key-with-wrong-params.pem
blob646ac1fbe9aff65303a15840a5a860a0f17dc74e
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.
7 -----BEGIN PUBLIC KEY-----
8 MIHRMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAICBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZ
9 IAWUDBAIBBQCiAwIBCgOBiwAwgYcCgYEAvkmbXn8GyD+gKT4xRlyOtrWK+SC65Sp7W5v+t6py2x
10 JkES6z/UMdMaKn5QlBVmkpSUoOiR7VYTkYtLUbDR+5d4Oyas99DzhM+zX00oJPXdOAYjomvxgLY
11 5YcYZ3NsgyuQG8i9uJ2yAo3JZSQz+tywacahPGEbTMId7o+MQHsnHsCARE=
12 -----END PUBLIC KEY-----
14 $ openssl asn1parse -i < [PUBLIC KEY]
15     0:d=0  hl=3 l= 209 cons: SEQUENCE          
16     3:d=1  hl=2 l=  65 cons:  SEQUENCE          
17     5:d=2  hl=2 l=   9 prim:   OBJECT            :rsassaPss
18    16:d=2  hl=2 l=  52 cons:   SEQUENCE          
19    18:d=3  hl=2 l=  15 cons:    cont [ 0 ]        
20    20:d=4  hl=2 l=  13 cons:     SEQUENCE          
21    22:d=5  hl=2 l=   9 prim:      OBJECT            :sha384
22    33:d=5  hl=2 l=   0 prim:      NULL              
23    35:d=3  hl=2 l=  28 cons:    cont [ 1 ]        
24    37:d=4  hl=2 l=  26 cons:     SEQUENCE          
25    39:d=5  hl=2 l=   9 prim:      OBJECT            :mgf1
26    50:d=5  hl=2 l=  13 cons:      SEQUENCE          
27    52:d=6  hl=2 l=   9 prim:       OBJECT            :sha256
28    63:d=6  hl=2 l=   0 prim:       NULL              
29    65:d=3  hl=2 l=   3 cons:    cont [ 2 ]        
30    67:d=4  hl=2 l=   1 prim:     INTEGER           :0A
31    70:d=1  hl=3 l= 139 prim:  BIT STRING        
35 -----BEGIN ALGORITHM-----
36 MEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUDBAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWU
37 DBAIBBQCiAwIBCg==
38 -----END ALGORITHM-----
40 $ openssl asn1parse -i < [ALGORITHM]
41     0:d=0  hl=2 l=  65 cons: SEQUENCE          
42     2:d=1  hl=2 l=   9 prim:  OBJECT            :rsassaPss
43    13:d=1  hl=2 l=  52 cons:  SEQUENCE          
44    15:d=2  hl=2 l=  15 cons:   cont [ 0 ]        
45    17:d=3  hl=2 l=  13 cons:    SEQUENCE          
46    19:d=4  hl=2 l=   9 prim:     OBJECT            :sha256
47    30:d=4  hl=2 l=   0 prim:     NULL              
48    32:d=2  hl=2 l=  28 cons:   cont [ 1 ]        
49    34:d=3  hl=2 l=  26 cons:    SEQUENCE          
50    36:d=4  hl=2 l=   9 prim:     OBJECT            :mgf1
51    47:d=4  hl=2 l=  13 cons:     SEQUENCE          
52    49:d=5  hl=2 l=   9 prim:      OBJECT            :sha256
53    60:d=5  hl=2 l=   0 prim:      NULL              
54    62:d=2  hl=2 l=   3 cons:   cont [ 2 ]        
55    64:d=3  hl=2 l=   1 prim:    INTEGER           :0A
59 -----BEGIN DATA-----
60 x/UnD8pyX5vRn1GajXzKPMXAeQJAKfO65RD5sCFA/iOJCOT2wY8HqJxofIaEZpsfHbK6+SUaPIK
61 frMtJMIThbsnijViGgHSl1iIWZ91uUo0W/iyfPbTPr2xNzoyEOa84zqqqnOLsrnvI9KWlXjv5bf
62 nNV1xPnLMnlRuM3+QIcWg=
63 -----END DATA-----
67 -----BEGIN SIGNATURE-----
68 A4GBABHhafL9QLB2Qbl2iiqxmWX7bCfxD88DI/zG0S608cBrMw3aoepQRAevop3p6+A3T+nR59D
69 /vV/Bzzo0RuQUVBXSqyT3ibNGTFxDola7wdaSz38EgB2sW7QBpKA6t9VyioYMGeGk3Hl8pULIID
70 zsLmAesMUfVn8u2gIrC5693u76
71 -----END SIGNATURE-----
73 $ openssl asn1parse -i < [SIGNATURE]
74     0:d=0  hl=3 l= 129 prim: BIT STRING