| 1 |
<html> |
| 2 |
<body> |
| 3 |
|
| 4 |
<h2><a href="cvm.html">CVM</a></h2> |
| 5 |
|
| 6 |
<h1>CVM Credential Definitions</h1> |
| 7 |
|
| 8 |
<h2>Types</h2> |
| 9 |
|
| 10 |
<p>Credentials may have one of two types:</p> |
| 11 |
|
| 12 |
<ul> |
| 13 |
|
| 14 |
<li><tt>string</tt>: An arbitrary length series of ASCII characters not |
| 15 |
containing <tt>NUL</tt>.</li> |
| 16 |
|
| 17 |
<li><tt>integer</tt>: A series of ASCII digits interpreted as an |
| 18 |
unsigned decimal value.</tt></li> |
| 19 |
|
| 20 |
</ul> |
| 21 |
|
| 22 |
<h2>Numbering</h2> |
| 23 |
|
| 24 |
<p>All predefined credential numbers will have values betweehn 1 and |
| 25 |
127 inclusive. All other credential numbers (from 128 to 255) are |
| 26 |
reserved for local or experimental use. Credentials may be given to |
| 27 |
the module in any order that is convenient to the client, and that |
| 28 |
order carries no significance. Unless otherwise specified, each fact |
| 29 |
must be present at most once in the input.</p> |
| 30 |
|
| 31 |
<p><table border=1> |
| 32 |
|
| 33 |
<tr> |
| 34 |
<th>#</th> |
| 35 |
<th>Name</th> |
| 36 |
<th>Type</th> |
| 37 |
<th>Description</th> |
| 38 |
</tr> |
| 39 |
|
| 40 |
<tr> |
| 41 |
<td><tt>1</tt></td> |
| 42 |
<td><tt>CVM_CRED_ACCOUNT</tt></td> |
| 43 |
<td>string</td> |
| 44 |
<td>The account name. This fact is required by all modules.</td> |
| 45 |
</tr> |
| 46 |
|
| 47 |
<tr> |
| 48 |
<td><tt>2</tt></td> |
| 49 |
<td><tt>CVM_CRED_DOMAIN</tt></td> |
| 50 |
<td>string</td> |
| 51 |
<td>The (DNS) domain name that may be associated with the account.</td> |
| 52 |
</tr> |
| 53 |
|
| 54 |
<tr> |
| 55 |
<td><tt>3</tt></td> |
| 56 |
<td><tt>CVM_CRED_PASSWORD</tt></td> |
| 57 |
<td>string</td> |
| 58 |
<td>Plain text password.</td> |
| 59 |
</tr> |
| 60 |
|
| 61 |
<tr> |
| 62 |
<td><tt>4</tt></td> |
| 63 |
<td><tt>CVM_CRED_SECRET</tt></td> |
| 64 |
<td>string</td> |
| 65 |
<td>This fact contains a secret that is shared between the client and |
| 66 |
the module, required for authentication to succeed.</td> |
| 67 |
</tr> |
| 68 |
|
| 69 |
<tr> |
| 70 |
<td><tt>5</tt></td> |
| 71 |
<td><tt>CVM_CRED_CHALLENGE</tt></td> |
| 72 |
<td>string</td> |
| 73 |
<td>For challenge-response mechanisms (such as APOP or CRAM-MD5), the |
| 74 |
one-time challenge that was issued to the client.</td> |
| 75 |
</tr> |
| 76 |
|
| 77 |
<tr> |
| 78 |
<td><tt>6</tt></td> |
| 79 |
<td><tt>CVM_CRED_RESPONSE</tt></td> |
| 80 |
<td>string</td> |
| 81 |
<td>For challenge-response mechanisms, the response from the |
| 82 |
client.</td> |
| 83 |
</tr> |
| 84 |
|
| 85 |
<tr> |
| 86 |
<td><tt>7</tt></td> |
| 87 |
<td><tt>CVM_CRED_RESPONSE_TYPE</tt></td> |
| 88 |
<td>string</td> |
| 89 |
<td>For challenge-response mechanisms, the name of the type of |
| 90 |
mechanism that was used to generate the response. Examples: |
| 91 |
"<tt>APOP</tt>" or "<tt>CRAM-MD5</tt>"</td> |
| 92 |
</tr> |
| 93 |
|
| 94 |
</table></p> |
| 95 |
|
| 96 |
</body> |
| 97 |
</html> |