Package 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
Modifier and Type Method Description 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 zonevoid
sign_for_source(SessionDoc doc)
In this method, outbound documents are signed by encrypting with the private key of the source.
-
Method Details
-
partially_encrypt_document
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
Accept a document from the inner zone.- Parameters:
doc
-
-
encrypt_for_destination
Outbound documents are encrypted with the public key of the destination by this method.- Parameters:
doc
-
-
sign_for_source
In this method, outbound documents are signed by encrypting with the private key of the source.- Parameters:
doc
-
-
send_document
send a document to the next outer zone- Parameters:
doc
-
-