source: heimdal/trunk/lib/hx509/data/test-signed-sha-512

Last change on this file was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

  • Property svn:mime-type set to application/octet-stream
File size: 3.9 KB
Line 
10‚l *†H†÷
2 ‚]0‚Y10
3 `†He0‚
4D *†H†÷
5 ‚
65‚
71This is a static file don't change the content, it is used in the test
8
9#!/bin/sh
10#
11# Copyright (c) 2005 Kungliga Tekniska Högskolan
12# (Royal Institute of Technology, Stockholm, Sweden).
13# All rights reserved.
14#
15# Redistribution and use in source and binary forms, with or without
16# modification, are permitted provided that the following conditions
17# are met:
18#
19# 1. Redistributions of source code must retain the above copyright
20# notice, this list of conditions and the following disclaimer.
21#
22# 2. Redistributions in binary form must reproduce the above copyright
23# notice, this list of conditions and the following disclaimer in the
24# documentation and/or other materials provided with the distribution.
25#
26# 3. Neither the name of the Institute nor the names of its contributors
27# may be used to endorse or promote products derived from this software
28# without specific prior written permission.
29#
30# THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
31# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
33# ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
34# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
36# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
38# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
39# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
40# SUCH DAMAGE.
41#
42#
43
44srcdir="@srcdir@"
45
46echo "try printing"
47./hxtool print \
48 --pass=PASS:foobar \
49 PKCS12:$srcdir/data/test.p12 || exit 1
50
51echo "make sure entry is found (friendlyname)"
52./hxtool query \
53 --pass=PASS:foobar \
54 --friendlyname=friendlyname-test \
55 PKCS12:$srcdir/data/test.p12 || exit 1
56
57echo "make sure entry is not found (friendlyname)"
58./hxtool query \
59 --pass=PASS:foobar \
60 --friendlyname=friendlyname-test-not \
61 PKCS12:$srcdir/data/test.p12 && exit 1
62
63echo "check for ca cert (friendlyname)"
64./hxtool query \
65 --pass=PASS:foobar \
66 --friendlyname=ca \
67 PKCS12:$srcdir/data/test.p12 || exit 1
68
69echo "make sure entry is not found (friendlyname)"
70./hxtool query \
71 --pass=PASS:foobar \
72 --friendlyname=friendlyname-test \
73 PKCS12:$srcdir/data/sub-cert.p12 && exit 1
74
75echo "make sure entry is found (friendlyname|private key)"
76./hxtool query \
77 --pass=PASS:foobar \
78 --friendlyname=friendlyname-test \
79 --private-key \
80 PKCS12:$srcdir/data/test.p12 || exit 1
81
82echo "make sure entry is not found (friendlyname|private key)"
83./hxtool query \
84 --pass=PASS:foobar \
85 --friendlyname=ca \
86 --private-key \
87 PKCS12:$srcdir/data/test.p12 && exit 1
88
89exit 0
90
91 ‚þ0‚ú0‚c 0
92 *†H†÷
930*10U
94hx509 Test Root CA1
950 USE0
96
97090426202940Z
98190424202940Z0!1
990 USE10U
100 Test cert0Ÿ0
101 *†H†÷
1020‰èjŠí†ã¶yÌ«ÃÔÏ0ôÜ*qà „sÖ€U¶qä3ý·£ãmÔÿ)ÒV@c俊~ÿ[éjÎPŽã…
103¡"ÍÂŽåF²>…
104{¥M>zžÇ|Ð-û•`Ñ@BŒ(®ñ<|_ÊäüJ*
105ïM T·y»¿Í ’fž”áÿ£9070 U
10600
107U
108à0
109U
110ÎwnÞ
111ô!øxÀ|ùfìL=J#0
112 *†H†÷
113E#0ôΞɶ .J dœŸWÕdíJ•£š<V{Š.l77®*±B.
114ž~WõZ8)xS³-È—ó«QjÄ߆—ÊhU9àø™Zœ€á4P4pÒt-žïžÒ":Ο‚šK³2͍
115i}
116×¶3ÜhAv¡6 Žº4EŸqœ«¿tw‡æ¿1‚÷0‚ó0/0*10U
117hx509 Test Root CA1
1180 USE0
119 `†He ‚0 *†H†÷
120 1
121 *†H†÷
1220
123 *†H†÷
124 1
125090426202941Z0O *†H†÷
126 1B@Þ
127(6ºÜ„µ‘¡üâ_(ˆöé}ÐH §Í1SØ mºôĘán<ÇÜQˆáÇäü²ŠùO=õ&€³s}Î.Û0Ž *†H†÷
128 1€0~0
129 `†He*0*…
130 0*…
1310
132 `†He0
133 `†He0
134*†H†÷
1350*†H†÷
136€0
137*†H†÷
138@0+0
139*†H†÷
140(0
141 *†H†÷
142€æo]^º±ãCŽ]7LãRÉÍÞVŠß2²Ÿ
1432ԁëNV×?„ªúŽ–äÏ,«À8ÏŠryeD= ò1¯k¬"“`“‚¬C°(3ˆ£Q X˺
144C„Ï’=l+ª!õ²
145¬©?ðiô%
146ŸfŸƒ˜x!Xe98#@pñfKÛÇ
Note: See TracBrowser for help on using the repository browser.