2.12.ipv8.test.attestation.wallet.irmaexact.test_credential

Copyright (c) 2016, Maarten Everts All rights reserved.

This source code has been ported from https://github.com/privacybydesign/gabi The authors of this file are not -in any way- affiliated with the original authors or organizations.

Module Contents

Classes

class 2.12.ipv8.test.attestation.wallet.irmaexact.test_credential.TestCredential(methodName: str = 'runTest')

Bases: 2.12.ipv8.test.base.TestBase

Tests related to IRMA credentials.

setUp() None

Set up proof constants.

_createCredential(context: int, secret: int, issuer: 2.12.ipv8.attestation.wallet.irmaexact.gabi.builder.Issuer) 2.12.ipv8.attestation.wallet.irmaexact.gabi.credential.Credential | None

Have an issuer construct a credential for the given context and secret.

test_show_proof() None

Test showing a partial proof.

test_construct_credential() None

Test constructing a credential.

test_construct_credential_challenge() None

Test constructing a credential with Challenge.

test_construct_credential_challenge_pcommit() None

Test constructing a credential with Challenge and PCommit.

test_show_proof_list() None

Test showing a list of proofs.

test_issue_and_show() None

Test the full stack of issuance and showing.

test_issue_show_random() None

Test the full stack of issuance, deriving and showing.

test_big_attribute() None

Test if a big attribute value still works.