Package pygar.zoneable
Interface InboundOperations
public interface InboundOperations
All work on this interface is TBD. There are some suggested methods but no
recommendations about how they might be used.
-
Method Summary
Modifier and Type Method Description void
get_document(SessionDoc doc)
This method pulls the document from the next outer security zone and then performs the destination_verify operation which may throw exception if it failsvoid
source_verify(SessionDoc doc)
Verify the source of the document by using the source public key to decode part of the document.void
stage_document(SessionDoc doc)
This method is called when the document is ready to hand off to the next inner zone.
-
Method Details
-
get_document
This method pulls the document from the next outer security zone and then performs the destination_verify operation which may throw exception if it fails- Parameters:
doc
-- Throws:
SourceVerifyFail
-
stage_document
This method is called when the document is ready to hand off to the next inner zone. It is also responsible for logging the processing of the document in this zone.- Parameters:
doc
-
-
source_verify
Verify the source of the document by using the source public key to decode part of the document. At the very least, the source will sign the document by encrypting a checksum of the encrypted payload.- Parameters:
doc
-- Throws:
SourceVerifyFail
-