Refactor WebsiteSettings to operate on a SecurityInfo
[chromium-blink-merge.git] / net / data / verify_signed_data_unittest / rsa-pkcs1-sha1-using-pss-key-no-params.pem
blob0dfff975caa56d158d0e80be63633da4290719d8
1 This is the same test as rsa-pkcs1-sha1.pem, except the SPKI has been modified
2 so that the key algorithm is rsaPss (1.2.840.113549.1.1.10) with absent
3 parameters.
5 Subsequently this should fail, as a PSS key should not be used with a signature
6 algorithm for PKCS#1 v1.5.
10 -----BEGIN PUBLIC KEY-----
11 MIGdMAsGCSqGSIb3DQEBCgOBjQAwgYkCgYEApW5KDnAQF1iaUYfcfqhB0Vby7A42rVKkTf6x5h9
12 62ZHYxRBW/+2xYrTA8oOhKoijlN/1JqtykcuzB86r/OCx39XNlQgJbVsri2311nHvY3fAkhyyPC
13 cKcOJZjm/4nRnxBazC0/DLNfKSgOE4a29kxO8i4eHyDQzoz/siSb2aITcCAwEAAQ==
14 -----END PUBLIC KEY-----
16 $ openssl asn1parse -i < [PUBLIC KEY]
17     0:d=0  hl=3 l= 157 cons: SEQUENCE          
18     3:d=1  hl=2 l=  11 cons:  SEQUENCE          
19     5:d=2  hl=2 l=   9 prim:   OBJECT            :rsassaPss
20    16:d=1  hl=3 l= 141 prim:  BIT STRING        
24 -----BEGIN ALGORITHM-----
25 MA0GCSqGSIb3DQEBBQUA
26 -----END ALGORITHM-----
28 $ openssl asn1parse -i < [ALGORITHM]
29     0:d=0  hl=2 l=  13 cons: SEQUENCE          
30     2:d=1  hl=2 l=   9 prim:  OBJECT            :sha1WithRSAEncryption
31    13:d=1  hl=2 l=   0 prim:  NULL              
35 -----BEGIN DATA-----
36 zch9oiPXht87ReC7vHITJtHuKvgGzDFUdcxvDZxm4bYjcdRc4jkuGskoRMMQEC8Vag2NUsH0xAu
37 jqmUJV4bLdpdXplY7qVj+0LzJhOi1F6PV9RWyO4pB50qoZ2k/kN+wYabobfqu5kRywA5fIJRXKc
38 vr538Gznjgj0CY+6QfnWGTwDF+i2DUtghKy0LSnjgIo7w3LYXjMRcPy/fMctC3HClmSLOk0Q9BY
39 pXQgHqmJcqydE/Z6o/SI8QlNwKYKL0WvgJUbxMP0uM7k20mduCK7RtzMYt1CgFn0A==
40 -----END DATA-----
44 -----BEGIN SIGNATURE-----
45 A4GBAGvDoGZWhCkwokfjDVhktNgZI2unxollhirX28TiSvKOhrtTHwM1i+X7dHd8YIb4UMrviT8
46 Nb8wtDJHsATaTtOoAuAzUmqxOy1+JEa/lOa2kqPOCPR0T5HLRSQVHxlnHYX89JAh9228rcglhZ/
47 wJfKsY6aRY/LY0zc6O41iUxITX
48 -----END SIGNATURE-----
50 $ openssl asn1parse -i < [SIGNATURE]
51     0:d=0  hl=3 l= 129 prim: BIT STRING