Crate nym_credentials_interface

Crate nym_credentials_interface 

Source

Modules§

constants

Structs§

AnnotatedCoinIndexSignature
AnnotatedExpirationDateSignature
AvailableBandwidth
Bandwidth
BlindedSignature
ClientTicket
CoinIndexSignatureShare
CredentialSigningData
CredentialSpendingData
ExpirationDateSignatureShare
KeyPairUser
NymPayInfo
PartialWallet
The struct represents a partial wallet with essential components for a payment transaction.
PayInfo
Represents the unique payment information associated with the payment.
Payment
PublicKeyUser
RequestInfo
Represents information associated with a withdrawal request.
SecretKeyUser
TicketTypeIter
An iterator over the variants of TicketType
UnknownTicketType
VerificationKeyAuth
Wallet
WalletSignatures
The struct represents a wallet with essential components for a payment transaction.
WithdrawalRequest
Represents a withdrawal request generate by the client who wants to obtain a zk-nym credential.

Enums§

BandwidthCredential
CompactEcashError
TicketType
TicketTypeRepr
This type is defined mostly for the purposes of having constants (like sizes) associated with given variants It’s not meant to be serialised or have any fancy traits defined on it (in this crate)

Constants§

DEFAULT_MIXNET_REQUEST_BANDWIDTH_THRESHOLD
Default bandwidth amount under which [mixnet] clients will attempt to send additional zk-nyms to increase their allowance.

Traits§

Base58
Bytable
EcashTime

Functions§

aggregate_expiration_signatures
Aggregates partial expiration date signatures into a list of aggregated expiration date signatures.
aggregate_indices_signatures
Aggregates and verifies partial coin index signatures.
aggregate_verification_keys
aggregate_wallets
ecash_parameters
ecash_today
generate_keypair_user
generate_keypair_user_from_seed
issue_verify
Verifies the integrity and correctness of a blinded signature and returns an unblinded partial zk-nym wallet.
withdrawal_request
Generates a withdrawal request for the given user to request a zk-nym credential wallet.

Type Aliases§

CoinIndexSignature
EncodedDate
EncodedTicketType
ExpirationDateSignature
A structure representing an expiration date signature.
PartialCoinIndexSignature
PartialExpirationDateSignature