(no commit message)
[devwiki.git] / design / trust-anchor.mdwn
index f6f2f81..15a4f93 100644 (file)
@@ -90,16 +90,21 @@ The server certificate hash field is mutually exclusive with the other fields.
     <identities>
       <identity>
         <display-name>Unique Name</display-name>
-        <user>username</user>
+        <user>user_name</user>
         <password>ENCRYPTEDPW</password>
         <realm>issuer name</realm>
         <services>
           <service>xmpp@jabber.project-moonshot.org</service>
+          <service>email@project-moonshot.org</service>
         </services>
         <selection-rules>
           <rule>
             <pattern>PATTERN</pattern>
-            <always_confirm>true</always_confirm>
+            <always-confirm>true</always-confirm>
+          </rule>
+          <rule>
+            <pattern>ANOTHER_PATTERN</pattern>
+            <always-confirm>false</always-confirm>
           </rule>
         </selection-rules>
         <trust-anchor>
@@ -107,7 +112,11 @@ The server certificate hash field is mutually exclusive with the other fields.
           <subject>Foo</subject>
           <subject-alt>Bar</subject-alt>
           <!-- Or alternatively -->
-          <srv-cert>ABCDEFGHIJKLMNOPQRSTUVWXYZ123455678910</srv-cert>
+          <server-cert>ABCDEFGHIJKLMNOPQRSTUVWXYZ123455678910</server-cert>
         </trust-anchor>
       </identity>
-    </identities> 
+      <identity>
+        <display-name>Another Identity</display-name>
+        <username>another_username</username>
+      </identity>
+    </identities>