directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Directory Wiki] Update of "Asn1Home" by EmmanuelLecharny
Date Thu, 05 May 2005 12:10:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification.

The following page has been changed by EmmanuelLecharny:
http://wiki.apache.org/directory/Asn1Home

------------------------------------------------------------------------------
  
  We will store the result of a decoding in POJO's, where each constructed element is implemented
as a POJO.
  
+ ==== Spnego Neg Token INIT POJO ====
+ 
  Here is the class diagram that could be used to store a SPNEGO '''neg``Token``Init''' :
  
  attachment:spnego-class-diag1.png
@@ -184, +186 @@

  
  attachment:spnego-class-diag2.png
  
+ ==== Spnego Neg Token Targ POJO ====
+ 
+ This POJO is a little simpler, as there is no recursive element. 
+ 
+ The following schema shows a PDU where we can see the Length dependencies.
+ 
+ attachment:spnego-neg-token-targ-PDU.png
+ 
+ As we can see, we will have to keep a track of the expected length of following parts :
+ 
+  * The negTokenArg length must be equal to the length of the negTokenTargSequence TLV
+  * The negTokenTargSequence length must be equal to the sum of each included TLV
+  * and so on...
  
  == LDAP ASN.1 State Automaton ==
  

Mime
View raw message