pygar.zoneable
Interface OutboundOperations


public interface OutboundOperations

All work on this interface is TBD. There are some suggested methods but no recommendation about how they might be used


Method Summary
 void accept_document(SessionDoc doc)
          Accept a document from the inner zone.
 void encrypt_for_destination(SessionDoc doc)
          Outbound documents are encrypted with the public key of the destination by this method.
 void partially_encrypt_document(SessionDoc doc)
          Documents for BEDM matching are created in the innermost zone and partially encrypted by this method.
 void send_document(SessionDoc doc)
          send a document to the next outer zone
 void sign_for_source(SessionDoc doc)
          In this method, outbound documents are signed by encrypting with the private key of the source.
 

Method Detail

partially_encrypt_document

void partially_encrypt_document(SessionDoc doc)
Documents for BEDM matching are created in the innermost zone and partially encrypted by this method. The encryption uses the encryption key associated with the sessionid.

Parameters:
doc -

accept_document

void accept_document(SessionDoc doc)
Accept a document from the inner zone.

Parameters:
doc -

encrypt_for_destination

void encrypt_for_destination(SessionDoc doc)
Outbound documents are encrypted with the public key of the destination by this method.

Parameters:
doc -

sign_for_source

void sign_for_source(SessionDoc doc)
In this method, outbound documents are signed by encrypting with the private key of the source.

Parameters:
doc -

send_document

void send_document(SessionDoc doc)
send a document to the next outer zone

Parameters:
doc -