1wanboot_keymgmt(1M) System Administration Commands wanboot_keymgmt(1M)
2
3
4
6 wanboot_keymgmt - insert and extract keys
7
9 /usr/lib/inet/wanboot/keymgmt -i -k key_file -s keystore -o type=keytype
10
11
12 /usr/lib/inet/wanboot/keymgmt -x -f outfile -s keystore -o type=keytype
13
14
16 The keymgmt utility has two purposes:
17
18 o To take a raw key, stored in key_file, and insert it in the
19 repository specified by keystore.
20
21 o To extract a key of a specified type from the repository
22 specified by keystore, depositing it in outfile.
23
24
25 outfile will be created if it does not already exist. The type of key
26 being added or extracted is specified by keytype and may have one of
27 four values: 3des, aes, rsa, or sha1 (the last used by HMAC SHA-1).
28 When extracting a key, the first key with an OID matching the supplied
29 type is used.
30
32 The following arguments are supported:
33
34 -i Used in conjunction with -k to insert a raw key in
35 keystore.
36
37
38 -f outfile Used to specify a file to receive an extracted key.
39
40
41 -k key_file Used in conjunction with -i to specify the file in
42 which a raw key is stored. This key will be inserted
43 in keystore.
44
45
46 -o type=keytype Specifies the type of key being inserted or
47 extracted. Must be one of 3des, aes, rsa, or sha1.
48
49
50 -s keystore Specifies a repository in which a key will be
51 inserted or from which a key will be extracted.
52
53
54 -x Used in conjunction with -f to extract a key of a
55 specified type and deposit it in outfile.
56
57
59 0 Successful operation.
60
61
62 >0 An error occurred.
63
64
66 See attributes(5) for descriptions of the following attributes:
67
68
69
70
71 ┌─────────────────────────────┬─────────────────────────────┐
72 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Availability │SUNWwbsup │
75 ├─────────────────────────────┼─────────────────────────────┤
76 │Interface Stability │Obsolete │
77 └─────────────────────────────┴─────────────────────────────┘
78
80 attributes(5)
81
82
83 ITU-T Recommendation X.208
84
85
86
87SunOS 5.11 18 Apr 2003 wanboot_keymgmt(1M)