Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add match_payload method to Envelope #11

Closed

Commits on Aug 29, 2022

  1. Add match_payload method to Envelope

    match_payload method checks for the payoad if deserializes into
    the provided class type. This method is essential in order to
    add DSSE compatibility in in_toto.
    
    This method will provide interface similar to current in_toto's
    Metablock property `_type`. Which is used at various places in
    in_toto project to identify type of the payload.
    
    Note: This type is not payload_type of DSSE envelope.
    
    Signed-off-by: Pradyumna Krishna <git@onpy.in>
    PradyumnaKrishna committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    6a8c4f2 View commit details
    Browse the repository at this point in the history