Skip to main content

Module yivi

Module yivi 

Source
Expand description

Tools for dealing with yivi.

Modules§

rs256sk_encoding 🔒
We encode the RS256 private key using the PEM-encoded PKCS #8 format
rs256vk_encoding 🔒
We encode the RS256 public key using the PEM-encoded PKCS #8 format

Structs§

AttributeRequest
https://pkg.go.dev/github.com/privacybydesign/irmago#AttributeRequest
AttributeTypeIdentifier
Identifier for a yivi attribute type, to us a string with three dots (‘.’).
CredentialToBeIssued
Known as CredentialRequest in irmago.
CredentialTypeIdentifier
Identifier for a yivi credential type, to us a string with two dots (‘.’).
Credentials
Credentials (name and key) for a requestor or yivi server.
DisclosedAttribute
Disclosure of a single attribute
Epoch
Represents a Yivi epoch by its sequence number. The 0th epoch starts at 1970-01-01T00:00:00Z and each epoch lasts exactly $60 \cdot 60 \cdot 24 \cdot 7$ seconds (= 1 week).
ExtendedSessionRequest
An extended session request, see:
NextSessionData
https://github.com/privacybydesign/irmago/blob/f9718c334af76a3ad2fa23019d17957878cd2032/requests.go#L139
RemoteError
Error type that may be part of a session result
RequestorToken
Identifier for a yivi session used in requestor endpoints
SessionRequest
A session request sent by a requestor to a yivi server
SessionResult
Result of a Yivi session

Enums§

AttributeProofStatus
Proof status of a single yivi attribute
LdContext
Some JSON linked data contexts http://json-ld.org used by yivi, primarily to identify a session’s type. Not to be confused with SessionType.
ProofStatus
Proof status of an entire session
SessionType
Session type (a.k.a. ‘Actions’)
SigningKey
Private key used by a requestor or yivi server to sign their JWTs.
Status
Status of a yivi session
VerifyingKey
Public key used by a requestor or yivi server to sign their JWTs.

Constants§

REQUESTOR_TOKEN_REGEX 🔒
The regex pattern for a RequestorToken
REQUESTOR_TOKEN_REGEX_TLK 🔒
Thread local compiled version of REQUESTOR_TOKEN_REGEX

Functions§

with_requestor_token_regex 🔒
Runs f with as argument a reference to a compiled REQUESTOR_TOKEN_REGEX that is cached thread locally.

Type Aliases§

AttributeConDisCon
https://pkg.go.dev/github.com/privacybydesign/irmago#AttributeConDisCon