Versions in this module Expand all Collapse all v0 v0.5.0 Jul 17, 2025 Changes in this version + const ConfigDirUser + const ConfigFileSigner + const EIDIndex + const ExtraPathElement + const ProtobufProtocolVersionV1 + const RHIndex + const SignerConfigFull + func GetCurveAndTranslator(curveID math.CurveID) (*math.Curve, idemix3.Translator, error) + func NewBCCSP(keyStore bccsp.KeyStore, curveID math.CurveID, aries bool) (bccsp.BCCSP, error) + func NewBCCSPWithDummyKeyStore(curveID math.CurveID, aries bool) (bccsp.BCCSP, error) + func NewKeyStore(curveID math.CurveID, backend keystore.KVS) (bccsp.KeyStore, error) + func ReadFile(file string) ([]byte, error) + type AuditInfo struct + Attributes [][]byte + Csp csp.BCCSP + EidNymAuditData *csp.AttrNymAuditData + IssuerPublicKey csp.Key + RhNymAuditData *csp.AttrNymAuditData + func DeserializeAuditInfo(raw []byte) (*AuditInfo, error) + func (a *AuditInfo) Bytes() ([]byte, error) + func (a *AuditInfo) EnrollmentID() string + func (a *AuditInfo) FromBytes(raw []byte) error + func (a *AuditInfo) Match(id []byte) error + func (a *AuditInfo) RevocationHandle() string + type Config = config.IdemixConfig + func NewConfig(dir string) (*Config, error) + func NewConfigFromRaw(issuerPublicKey []byte, configRaw []byte) (*Config, error) + func NewConfigWithIPK(issuerPublicKey []byte, dir string, ignoreVerifyOnlyWallet bool) (*Config, error) + func NewFabricCAIdemixConfig(issuerPublicKey []byte, dir string) (*Config, error) + func NewIdemixConfig(issuerPublicKey []byte, dir string, ignoreVerifyOnlyWallet bool) (*Config, error) + type DeserializedIdentity struct + Identity *Identity + NymPublicKey bccsp.Key + type Deserializer struct + Csp bccsp.BCCSP + Epoch int + Ipk []byte + IssuerPublicKey bccsp.Key + Name string + NymEID []byte + RevocationPK bccsp.Key + RhNym []byte + VerType bccsp.VerificationType + func (c *Deserializer) Deserialize(raw []byte, checkValidity bool) (*DeserializedIdentity, error) + func (c *Deserializer) DeserializeAgainstNymEID(identity []byte, checkValidity bool, nymEID []byte) (*DeserializedIdentity, error) + func (c *Deserializer) DeserializeAuditInfo(raw []byte) (*AuditInfo, error) + type Identity struct + AssociationProof []byte + Idemix *Deserializer + NymPublicKey bccsp.Key + VerificationType bccsp.VerificationType + func NewIdentity(idemix *Deserializer, nymPublicKey bccsp.Key, proof []byte, ...) (*Identity, error) + func (id *Identity) Serialize() ([]byte, error) + func (id *Identity) Validate() error + func (id *Identity) Verify(msg []byte, sig []byte) error + type NymSignatureVerifier struct + CSP bccsp.BCCSP + IPK bccsp.Key + NymPK bccsp.Key + func (v *NymSignatureVerifier) Verify(message, sigma []byte) error + type SerializedIdemixIdentity = config.SerializedIdemixIdentity + type SignerConfig struct + Cred []byte + CredentialRevocationInformation []byte + CurveID string + EnrollmentID string + OrganizationalUnitIdentifier string + RevocationHandle string + Role int + Sk []byte + type SigningIdentity struct + CSP bccsp.BCCSP + EnrollmentId string + NymKeySKI []byte + UserKeySKI []byte + func (id *SigningIdentity) Sign(msg []byte) ([]byte, error)