13.07.2015 Views

Full Generic System V ABI

Full Generic System V ABI

Full Generic System V ABI

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

** Maximum length of a network user’s name*/c o n s t M A X N E T N A M E L E N = 2 5 5 ;/** A fullname contains the network name of the client, an encrypted* conversation key and the window. The window is actually a* lifetime for the credential. If the time indicated in the* verifier timestamp plus the window has past, then the server* should expire the request and not grant it. To insure that* requests are not replayed, the server should insist that* timestamps are greater than the previous one seen, unless it is* the first transaction. In the first transaction, the server* checks instead that the window verifier is one less than the* window.*/s t r u c t a u t h d e s _ f u l l n a m e {s t r i n g n a m e < M A X N E T N A M E L E N > ; / * name of client * /d e s _ b l o c k k e y ; / * PK encrypted conversation key * /u n s i g n e d i n t w i n d o w ; / * encrypted window * /} ;/** A credential is either a fullname or a nickname*/u n i o n a u t h d e s _ c r e d s w i t c h ( a u t h d e s _ n a m e k i n d a d c _ n a m e k i n d ) {c a s e A D N _ F U L L N A M E :a u t h d e s _ f u l l n a m e a d c _ f u l l n a m e ;c a s e A D N _ N I C K N A M E :u n s i g n e d i n t a d c _ n i c k n a m e ;} ;/** A timestamp encodes the time since midnight, January 1, 1970.*/s t r u c t t i m e s t a m p {u n s i g n e d i n t s e c o n d s ; / * seconds * /u n s i g n e d i n t u s e c o n d s ; / * and microseconds * /} ;/** Verifier: client variety* The window verifier is only used in the first transaction. In* conjunction with a fullname credential, these items are packed* into the following structure before being encrypted:** s t r u c t {* a d v _ t i m e s t a m p ; -- one DES block* a d v _ f u l l n a m e . w i n d o w ; -- one half DES block(continued on next page )7-34 FORMATS AND PROTOCOLS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!