Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CredRequest
- func (fake *CredRequest) Invocations() map[string][][]interface{}
- func (fake *CredRequest) Sign(arg1 *math.Zr, arg2 types.IssuerPublicKey, arg3 []byte) ([]byte, error)
- func (fake *CredRequest) SignArgsForCall(i int) (*math.Zr, types.IssuerPublicKey, []byte)
- func (fake *CredRequest) SignCallCount() int
- func (fake *CredRequest) SignCalls(stub func(*math.Zr, types.IssuerPublicKey, []byte) ([]byte, error))
- func (fake *CredRequest) SignReturns(result1 []byte, result2 error)
- func (fake *CredRequest) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *CredRequest) Verify(arg1 []byte, arg2 types.IssuerPublicKey, arg3 []byte) error
- func (fake *CredRequest) VerifyArgsForCall(i int) ([]byte, types.IssuerPublicKey, []byte)
- func (fake *CredRequest) VerifyCallCount() int
- func (fake *CredRequest) VerifyCalls(stub func([]byte, types.IssuerPublicKey, []byte) error)
- func (fake *CredRequest) VerifyReturns(result1 error)
- func (fake *CredRequest) VerifyReturnsOnCall(i int, result1 error)
- type Credential
- func (fake *Credential) Invocations() map[string][][]interface{}
- func (fake *Credential) Sign(arg1 types.IssuerSecretKey, arg2 []byte, arg3 []types.IdemixAttribute) ([]byte, error)
- func (fake *Credential) SignArgsForCall(i int) (types.IssuerSecretKey, []byte, []types.IdemixAttribute)
- func (fake *Credential) SignCallCount() int
- func (fake *Credential) SignCalls(...)
- func (fake *Credential) SignReturns(result1 []byte, result2 error)
- func (fake *Credential) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Credential) Verify(arg1 *math.Zr, arg2 types.IssuerPublicKey, arg3 []byte, ...) error
- func (fake *Credential) VerifyArgsForCall(i int) (*math.Zr, types.IssuerPublicKey, []byte, []types.IdemixAttribute)
- func (fake *Credential) VerifyCallCount() int
- func (fake *Credential) VerifyCalls(...)
- func (fake *Credential) VerifyReturns(result1 error)
- func (fake *Credential) VerifyReturnsOnCall(i int, result1 error)
- type Issuer
- func (fake *Issuer) Invocations() map[string][][]interface{}
- func (fake *Issuer) NewKey(arg1 []string) (types.IssuerSecretKey, error)
- func (fake *Issuer) NewKeyArgsForCall(i int) []string
- func (fake *Issuer) NewKeyCallCount() int
- func (fake *Issuer) NewKeyCalls(stub func([]string) (types.IssuerSecretKey, error))
- func (fake *Issuer) NewKeyFromBytes(arg1 []byte, arg2 []string) (types.IssuerSecretKey, error)
- func (fake *Issuer) NewKeyFromBytesArgsForCall(i int) ([]byte, []string)
- func (fake *Issuer) NewKeyFromBytesCallCount() int
- func (fake *Issuer) NewKeyFromBytesCalls(stub func([]byte, []string) (types.IssuerSecretKey, error))
- func (fake *Issuer) NewKeyFromBytesReturns(result1 types.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewKeyFromBytesReturnsOnCall(i int, result1 types.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewKeyReturns(result1 types.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewKeyReturnsOnCall(i int, result1 types.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewPublicKeyFromBytes(arg1 []byte, arg2 []string) (types.IssuerPublicKey, error)
- func (fake *Issuer) NewPublicKeyFromBytesArgsForCall(i int) ([]byte, []string)
- func (fake *Issuer) NewPublicKeyFromBytesCallCount() int
- func (fake *Issuer) NewPublicKeyFromBytesCalls(stub func([]byte, []string) (types.IssuerPublicKey, error))
- func (fake *Issuer) NewPublicKeyFromBytesReturns(result1 types.IssuerPublicKey, result2 error)
- func (fake *Issuer) NewPublicKeyFromBytesReturnsOnCall(i int, result1 types.IssuerPublicKey, result2 error)
- type IssuerPublicKey
- func (fake *IssuerPublicKey) Bytes() ([]byte, error)
- func (fake *IssuerPublicKey) BytesCallCount() int
- func (fake *IssuerPublicKey) BytesCalls(stub func() ([]byte, error))
- func (fake *IssuerPublicKey) BytesReturns(result1 []byte, result2 error)
- func (fake *IssuerPublicKey) BytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *IssuerPublicKey) Hash() []byte
- func (fake *IssuerPublicKey) HashCallCount() int
- func (fake *IssuerPublicKey) HashCalls(stub func() []byte)
- func (fake *IssuerPublicKey) HashReturns(result1 []byte)
- func (fake *IssuerPublicKey) HashReturnsOnCall(i int, result1 []byte)
- func (fake *IssuerPublicKey) Invocations() map[string][][]interface{}
- type IssuerSecretKey
- func (fake *IssuerSecretKey) Bytes() ([]byte, error)
- func (fake *IssuerSecretKey) BytesCallCount() int
- func (fake *IssuerSecretKey) BytesCalls(stub func() ([]byte, error))
- func (fake *IssuerSecretKey) BytesReturns(result1 []byte, result2 error)
- func (fake *IssuerSecretKey) BytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *IssuerSecretKey) Invocations() map[string][][]interface{}
- func (fake *IssuerSecretKey) Public() types.IssuerPublicKey
- func (fake *IssuerSecretKey) PublicCallCount() int
- func (fake *IssuerSecretKey) PublicCalls(stub func() types.IssuerPublicKey)
- func (fake *IssuerSecretKey) PublicReturns(result1 types.IssuerPublicKey)
- func (fake *IssuerSecretKey) PublicReturnsOnCall(i int, result1 types.IssuerPublicKey)
- type NymSignatureScheme
- func (fake *NymSignatureScheme) Invocations() map[string][][]interface{}
- func (fake *NymSignatureScheme) Sign(arg1 *math.Zr, arg2 *math.G1, arg3 *math.Zr, arg4 types.IssuerPublicKey, ...) ([]byte, error)
- func (fake *NymSignatureScheme) SignArgsForCall(i int) (*math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, []byte)
- func (fake *NymSignatureScheme) SignCallCount() int
- func (fake *NymSignatureScheme) SignCalls(...)
- func (fake *NymSignatureScheme) SignReturns(result1 []byte, result2 error)
- func (fake *NymSignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *NymSignatureScheme) Verify(arg1 types.IssuerPublicKey, arg2 *math.G1, arg3 []byte, arg4 []byte) error
- func (fake *NymSignatureScheme) VerifyArgsForCall(i int) (types.IssuerPublicKey, *math.G1, []byte, []byte)
- func (fake *NymSignatureScheme) VerifyCallCount() int
- func (fake *NymSignatureScheme) VerifyCalls(stub func(types.IssuerPublicKey, *math.G1, []byte, []byte) error)
- func (fake *NymSignatureScheme) VerifyReturns(result1 error)
- func (fake *NymSignatureScheme) VerifyReturnsOnCall(i int, result1 error)
- type Revocation
- func (fake *Revocation) Invocations() map[string][][]interface{}
- func (fake *Revocation) NewKey() (*ecdsa.PrivateKey, error)
- func (fake *Revocation) NewKeyCallCount() int
- func (fake *Revocation) NewKeyCalls(stub func() (*ecdsa.PrivateKey, error))
- func (fake *Revocation) NewKeyFromBytes(arg1 []byte) (*ecdsa.PrivateKey, error)
- func (fake *Revocation) NewKeyFromBytesArgsForCall(i int) []byte
- func (fake *Revocation) NewKeyFromBytesCallCount() int
- func (fake *Revocation) NewKeyFromBytesCalls(stub func([]byte) (*ecdsa.PrivateKey, error))
- func (fake *Revocation) NewKeyFromBytesReturns(result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) NewKeyFromBytesReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) NewKeyReturns(result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) NewKeyReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) Sign(arg1 *ecdsa.PrivateKey, arg2 [][]byte, arg3 int, ...) ([]byte, error)
- func (fake *Revocation) SignArgsForCall(i int) (*ecdsa.PrivateKey, [][]byte, int, types.RevocationAlgorithm)
- func (fake *Revocation) SignCallCount() int
- func (fake *Revocation) SignCalls(...)
- func (fake *Revocation) SignReturns(result1 []byte, result2 error)
- func (fake *Revocation) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Revocation) Verify(arg1 *ecdsa.PublicKey, arg2 []byte, arg3 int, arg4 types.RevocationAlgorithm) error
- func (fake *Revocation) VerifyArgsForCall(i int) (*ecdsa.PublicKey, []byte, int, types.RevocationAlgorithm)
- func (fake *Revocation) VerifyCallCount() int
- func (fake *Revocation) VerifyCalls(stub func(*ecdsa.PublicKey, []byte, int, types.RevocationAlgorithm) error)
- func (fake *Revocation) VerifyReturns(result1 error)
- func (fake *Revocation) VerifyReturnsOnCall(i int, result1 error)
- type SignatureScheme
- func (fake *SignatureScheme) AuditNymEid(arg1 types.IssuerPublicKey, arg2 int, arg3 []byte, arg4 string, arg5 *math.Zr, ...) error
- func (fake *SignatureScheme) AuditNymEidArgsForCall(i int) (types.IssuerPublicKey, int, []byte, string, *math.Zr, ...)
- func (fake *SignatureScheme) AuditNymEidCallCount() int
- func (fake *SignatureScheme) AuditNymEidCalls(stub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, ...) error)
- func (fake *SignatureScheme) AuditNymEidReturns(result1 error)
- func (fake *SignatureScheme) AuditNymEidReturnsOnCall(i int, result1 error)
- func (fake *SignatureScheme) AuditNymRh(arg1 types.IssuerPublicKey, arg2 int, arg3 []byte, arg4 string, arg5 *math.Zr, ...) error
- func (fake *SignatureScheme) AuditNymRhArgsForCall(i int) (types.IssuerPublicKey, int, []byte, string, *math.Zr, ...)
- func (fake *SignatureScheme) AuditNymRhCallCount() int
- func (fake *SignatureScheme) AuditNymRhCalls(stub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, ...) error)
- func (fake *SignatureScheme) AuditNymRhReturns(result1 error)
- func (fake *SignatureScheme) AuditNymRhReturnsOnCall(i int, result1 error)
- func (fake *SignatureScheme) Invocations() map[string][][]interface{}
- func (fake *SignatureScheme) Sign(arg1 []byte, arg2 *math.Zr, arg3 *math.G1, arg4 *math.Zr, ...) ([]byte, *types.IdemixSignerMetadata, error)
- func (fake *SignatureScheme) SignArgsForCall(i int) ([]byte, *math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, ...)
- func (fake *SignatureScheme) SignCallCount() int
- func (fake *SignatureScheme) SignCalls(...)
- func (fake *SignatureScheme) SignReturns(result1 []byte, result2 *types.IdemixSignerMetadata, result3 error)
- func (fake *SignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 *types.IdemixSignerMetadata, result3 error)
- func (fake *SignatureScheme) Verify(arg1 types.IssuerPublicKey, arg2 []byte, arg3 []byte, ...) error
- func (fake *SignatureScheme) VerifyArgsForCall(i int) (types.IssuerPublicKey, []byte, []byte, []types.IdemixAttribute, int, int, ...)
- func (fake *SignatureScheme) VerifyCallCount() int
- func (fake *SignatureScheme) VerifyCalls(...)
- func (fake *SignatureScheme) VerifyReturns(result1 error)
- func (fake *SignatureScheme) VerifyReturnsOnCall(i int, result1 error)
- type User
- func (fake *User) Invocations() map[string][][]interface{}
- func (fake *User) MakeNym(arg1 *math.Zr, arg2 types.IssuerPublicKey) (*math.G1, *math.Zr, error)
- func (fake *User) MakeNymArgsForCall(i int) (*math.Zr, types.IssuerPublicKey)
- func (fake *User) MakeNymCallCount() int
- func (fake *User) MakeNymCalls(stub func(*math.Zr, types.IssuerPublicKey) (*math.G1, *math.Zr, error))
- func (fake *User) MakeNymReturns(result1 *math.G1, result2 *math.Zr, result3 error)
- func (fake *User) MakeNymReturnsOnCall(i int, result1 *math.G1, result2 *math.Zr, result3 error)
- func (fake *User) NewKey() (*math.Zr, error)
- func (fake *User) NewKeyCallCount() int
- func (fake *User) NewKeyCalls(stub func() (*math.Zr, error))
- func (fake *User) NewKeyFromBytes(arg1 []byte) (*math.Zr, error)
- func (fake *User) NewKeyFromBytesArgsForCall(i int) []byte
- func (fake *User) NewKeyFromBytesCallCount() int
- func (fake *User) NewKeyFromBytesCalls(stub func([]byte) (*math.Zr, error))
- func (fake *User) NewKeyFromBytesReturns(result1 *math.Zr, result2 error)
- func (fake *User) NewKeyFromBytesReturnsOnCall(i int, result1 *math.Zr, result2 error)
- func (fake *User) NewKeyReturns(result1 *math.Zr, result2 error)
- func (fake *User) NewKeyReturnsOnCall(i int, result1 *math.Zr, result2 error)
- func (fake *User) NewNymFromBytes(arg1 []byte) (*math.G1, *math.Zr, error)
- func (fake *User) NewNymFromBytesArgsForCall(i int) []byte
- func (fake *User) NewNymFromBytesCallCount() int
- func (fake *User) NewNymFromBytesCalls(stub func([]byte) (*math.G1, *math.Zr, error))
- func (fake *User) NewNymFromBytesReturns(result1 *math.G1, result2 *math.Zr, result3 error)
- func (fake *User) NewNymFromBytesReturnsOnCall(i int, result1 *math.G1, result2 *math.Zr, result3 error)
- func (fake *User) NewPublicNymFromBytes(arg1 []byte) (*math.G1, error)
- func (fake *User) NewPublicNymFromBytesArgsForCall(i int) []byte
- func (fake *User) NewPublicNymFromBytesCallCount() int
- func (fake *User) NewPublicNymFromBytesCalls(stub func([]byte) (*math.G1, error))
- func (fake *User) NewPublicNymFromBytesReturns(result1 *math.G1, result2 error)
- func (fake *User) NewPublicNymFromBytesReturnsOnCall(i int, result1 *math.G1, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredRequest ¶
type CredRequest struct { SignStub func(*math.Zr, types.IssuerPublicKey, []byte) ([]byte, error) VerifyStub func([]byte, types.IssuerPublicKey, []byte) error // contains filtered or unexported fields }
func (*CredRequest) Invocations ¶
func (fake *CredRequest) Invocations() map[string][][]interface{}
func (*CredRequest) Sign ¶
func (fake *CredRequest) Sign(arg1 *math.Zr, arg2 types.IssuerPublicKey, arg3 []byte) ([]byte, error)
func (*CredRequest) SignArgsForCall ¶
func (fake *CredRequest) SignArgsForCall(i int) (*math.Zr, types.IssuerPublicKey, []byte)
func (*CredRequest) SignCallCount ¶
func (fake *CredRequest) SignCallCount() int
func (*CredRequest) SignCalls ¶
func (fake *CredRequest) SignCalls(stub func(*math.Zr, types.IssuerPublicKey, []byte) ([]byte, error))
func (*CredRequest) SignReturns ¶
func (fake *CredRequest) SignReturns(result1 []byte, result2 error)
func (*CredRequest) SignReturnsOnCall ¶
func (fake *CredRequest) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*CredRequest) Verify ¶
func (fake *CredRequest) Verify(arg1 []byte, arg2 types.IssuerPublicKey, arg3 []byte) error
func (*CredRequest) VerifyArgsForCall ¶
func (fake *CredRequest) VerifyArgsForCall(i int) ([]byte, types.IssuerPublicKey, []byte)
func (*CredRequest) VerifyCallCount ¶
func (fake *CredRequest) VerifyCallCount() int
func (*CredRequest) VerifyCalls ¶
func (fake *CredRequest) VerifyCalls(stub func([]byte, types.IssuerPublicKey, []byte) error)
func (*CredRequest) VerifyReturns ¶
func (fake *CredRequest) VerifyReturns(result1 error)
func (*CredRequest) VerifyReturnsOnCall ¶
func (fake *CredRequest) VerifyReturnsOnCall(i int, result1 error)
type Credential ¶
type Credential struct { SignStub func(types.IssuerSecretKey, []byte, []types.IdemixAttribute) ([]byte, error) VerifyStub func(*math.Zr, types.IssuerPublicKey, []byte, []types.IdemixAttribute) error // contains filtered or unexported fields }
func (*Credential) Invocations ¶
func (fake *Credential) Invocations() map[string][][]interface{}
func (*Credential) Sign ¶
func (fake *Credential) Sign(arg1 types.IssuerSecretKey, arg2 []byte, arg3 []types.IdemixAttribute) ([]byte, error)
func (*Credential) SignArgsForCall ¶
func (fake *Credential) SignArgsForCall(i int) (types.IssuerSecretKey, []byte, []types.IdemixAttribute)
func (*Credential) SignCallCount ¶
func (fake *Credential) SignCallCount() int
func (*Credential) SignCalls ¶
func (fake *Credential) SignCalls(stub func(types.IssuerSecretKey, []byte, []types.IdemixAttribute) ([]byte, error))
func (*Credential) SignReturns ¶
func (fake *Credential) SignReturns(result1 []byte, result2 error)
func (*Credential) SignReturnsOnCall ¶
func (fake *Credential) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*Credential) Verify ¶
func (fake *Credential) Verify(arg1 *math.Zr, arg2 types.IssuerPublicKey, arg3 []byte, arg4 []types.IdemixAttribute) error
func (*Credential) VerifyArgsForCall ¶
func (fake *Credential) VerifyArgsForCall(i int) (*math.Zr, types.IssuerPublicKey, []byte, []types.IdemixAttribute)
func (*Credential) VerifyCallCount ¶
func (fake *Credential) VerifyCallCount() int
func (*Credential) VerifyCalls ¶
func (fake *Credential) VerifyCalls(stub func(*math.Zr, types.IssuerPublicKey, []byte, []types.IdemixAttribute) error)
func (*Credential) VerifyReturns ¶
func (fake *Credential) VerifyReturns(result1 error)
func (*Credential) VerifyReturnsOnCall ¶
func (fake *Credential) VerifyReturnsOnCall(i int, result1 error)
type Issuer ¶
type Issuer struct { NewKeyStub func([]string) (types.IssuerSecretKey, error) NewKeyFromBytesStub func([]byte, []string) (types.IssuerSecretKey, error) NewPublicKeyFromBytesStub func([]byte, []string) (types.IssuerPublicKey, error) // contains filtered or unexported fields }
func (*Issuer) Invocations ¶
func (*Issuer) NewKeyArgsForCall ¶
func (*Issuer) NewKeyCallCount ¶
func (*Issuer) NewKeyCalls ¶
func (fake *Issuer) NewKeyCalls(stub func([]string) (types.IssuerSecretKey, error))
func (*Issuer) NewKeyFromBytes ¶
func (*Issuer) NewKeyFromBytesArgsForCall ¶
func (*Issuer) NewKeyFromBytesCallCount ¶
func (*Issuer) NewKeyFromBytesCalls ¶
func (*Issuer) NewKeyFromBytesReturns ¶
func (fake *Issuer) NewKeyFromBytesReturns(result1 types.IssuerSecretKey, result2 error)
func (*Issuer) NewKeyFromBytesReturnsOnCall ¶
func (fake *Issuer) NewKeyFromBytesReturnsOnCall(i int, result1 types.IssuerSecretKey, result2 error)
func (*Issuer) NewKeyReturns ¶
func (fake *Issuer) NewKeyReturns(result1 types.IssuerSecretKey, result2 error)
func (*Issuer) NewKeyReturnsOnCall ¶
func (fake *Issuer) NewKeyReturnsOnCall(i int, result1 types.IssuerSecretKey, result2 error)
func (*Issuer) NewPublicKeyFromBytes ¶
func (*Issuer) NewPublicKeyFromBytesArgsForCall ¶
func (*Issuer) NewPublicKeyFromBytesCallCount ¶
func (*Issuer) NewPublicKeyFromBytesCalls ¶
func (*Issuer) NewPublicKeyFromBytesReturns ¶
func (fake *Issuer) NewPublicKeyFromBytesReturns(result1 types.IssuerPublicKey, result2 error)
func (*Issuer) NewPublicKeyFromBytesReturnsOnCall ¶
func (fake *Issuer) NewPublicKeyFromBytesReturnsOnCall(i int, result1 types.IssuerPublicKey, result2 error)
type IssuerPublicKey ¶
type IssuerPublicKey struct { BytesStub func() ([]byte, error) HashStub func() []byte // contains filtered or unexported fields }
func (*IssuerPublicKey) Bytes ¶
func (fake *IssuerPublicKey) Bytes() ([]byte, error)
func (*IssuerPublicKey) BytesCallCount ¶
func (fake *IssuerPublicKey) BytesCallCount() int
func (*IssuerPublicKey) BytesCalls ¶
func (fake *IssuerPublicKey) BytesCalls(stub func() ([]byte, error))
func (*IssuerPublicKey) BytesReturns ¶
func (fake *IssuerPublicKey) BytesReturns(result1 []byte, result2 error)
func (*IssuerPublicKey) BytesReturnsOnCall ¶
func (fake *IssuerPublicKey) BytesReturnsOnCall(i int, result1 []byte, result2 error)
func (*IssuerPublicKey) Hash ¶
func (fake *IssuerPublicKey) Hash() []byte
func (*IssuerPublicKey) HashCallCount ¶
func (fake *IssuerPublicKey) HashCallCount() int
func (*IssuerPublicKey) HashCalls ¶
func (fake *IssuerPublicKey) HashCalls(stub func() []byte)
func (*IssuerPublicKey) HashReturns ¶
func (fake *IssuerPublicKey) HashReturns(result1 []byte)
func (*IssuerPublicKey) HashReturnsOnCall ¶
func (fake *IssuerPublicKey) HashReturnsOnCall(i int, result1 []byte)
func (*IssuerPublicKey) Invocations ¶
func (fake *IssuerPublicKey) Invocations() map[string][][]interface{}
type IssuerSecretKey ¶
type IssuerSecretKey struct { BytesStub func() ([]byte, error) PublicStub func() types.IssuerPublicKey // contains filtered or unexported fields }
func (*IssuerSecretKey) Bytes ¶
func (fake *IssuerSecretKey) Bytes() ([]byte, error)
func (*IssuerSecretKey) BytesCallCount ¶
func (fake *IssuerSecretKey) BytesCallCount() int
func (*IssuerSecretKey) BytesCalls ¶
func (fake *IssuerSecretKey) BytesCalls(stub func() ([]byte, error))
func (*IssuerSecretKey) BytesReturns ¶
func (fake *IssuerSecretKey) BytesReturns(result1 []byte, result2 error)
func (*IssuerSecretKey) BytesReturnsOnCall ¶
func (fake *IssuerSecretKey) BytesReturnsOnCall(i int, result1 []byte, result2 error)
func (*IssuerSecretKey) Invocations ¶
func (fake *IssuerSecretKey) Invocations() map[string][][]interface{}
func (*IssuerSecretKey) Public ¶
func (fake *IssuerSecretKey) Public() types.IssuerPublicKey
func (*IssuerSecretKey) PublicCallCount ¶
func (fake *IssuerSecretKey) PublicCallCount() int
func (*IssuerSecretKey) PublicCalls ¶
func (fake *IssuerSecretKey) PublicCalls(stub func() types.IssuerPublicKey)
func (*IssuerSecretKey) PublicReturns ¶
func (fake *IssuerSecretKey) PublicReturns(result1 types.IssuerPublicKey)
func (*IssuerSecretKey) PublicReturnsOnCall ¶
func (fake *IssuerSecretKey) PublicReturnsOnCall(i int, result1 types.IssuerPublicKey)
type NymSignatureScheme ¶
type NymSignatureScheme struct { SignStub func(*math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, []byte) ([]byte, error) VerifyStub func(types.IssuerPublicKey, *math.G1, []byte, []byte) error // contains filtered or unexported fields }
func (*NymSignatureScheme) Invocations ¶
func (fake *NymSignatureScheme) Invocations() map[string][][]interface{}
func (*NymSignatureScheme) SignArgsForCall ¶
func (*NymSignatureScheme) SignCallCount ¶
func (fake *NymSignatureScheme) SignCallCount() int
func (*NymSignatureScheme) SignReturns ¶
func (fake *NymSignatureScheme) SignReturns(result1 []byte, result2 error)
func (*NymSignatureScheme) SignReturnsOnCall ¶
func (fake *NymSignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*NymSignatureScheme) Verify ¶
func (fake *NymSignatureScheme) Verify(arg1 types.IssuerPublicKey, arg2 *math.G1, arg3 []byte, arg4 []byte) error
func (*NymSignatureScheme) VerifyArgsForCall ¶
func (fake *NymSignatureScheme) VerifyArgsForCall(i int) (types.IssuerPublicKey, *math.G1, []byte, []byte)
func (*NymSignatureScheme) VerifyCallCount ¶
func (fake *NymSignatureScheme) VerifyCallCount() int
func (*NymSignatureScheme) VerifyCalls ¶
func (fake *NymSignatureScheme) VerifyCalls(stub func(types.IssuerPublicKey, *math.G1, []byte, []byte) error)
func (*NymSignatureScheme) VerifyReturns ¶
func (fake *NymSignatureScheme) VerifyReturns(result1 error)
func (*NymSignatureScheme) VerifyReturnsOnCall ¶
func (fake *NymSignatureScheme) VerifyReturnsOnCall(i int, result1 error)
type Revocation ¶
type Revocation struct { NewKeyStub func() (*ecdsa.PrivateKey, error) NewKeyFromBytesStub func([]byte) (*ecdsa.PrivateKey, error) SignStub func(*ecdsa.PrivateKey, [][]byte, int, types.RevocationAlgorithm) ([]byte, error) VerifyStub func(*ecdsa.PublicKey, []byte, int, types.RevocationAlgorithm) error // contains filtered or unexported fields }
func (*Revocation) Invocations ¶
func (fake *Revocation) Invocations() map[string][][]interface{}
func (*Revocation) NewKey ¶
func (fake *Revocation) NewKey() (*ecdsa.PrivateKey, error)
func (*Revocation) NewKeyCallCount ¶
func (fake *Revocation) NewKeyCallCount() int
func (*Revocation) NewKeyCalls ¶
func (fake *Revocation) NewKeyCalls(stub func() (*ecdsa.PrivateKey, error))
func (*Revocation) NewKeyFromBytes ¶
func (fake *Revocation) NewKeyFromBytes(arg1 []byte) (*ecdsa.PrivateKey, error)
func (*Revocation) NewKeyFromBytesArgsForCall ¶
func (fake *Revocation) NewKeyFromBytesArgsForCall(i int) []byte
func (*Revocation) NewKeyFromBytesCallCount ¶
func (fake *Revocation) NewKeyFromBytesCallCount() int
func (*Revocation) NewKeyFromBytesCalls ¶
func (fake *Revocation) NewKeyFromBytesCalls(stub func([]byte) (*ecdsa.PrivateKey, error))
func (*Revocation) NewKeyFromBytesReturns ¶
func (fake *Revocation) NewKeyFromBytesReturns(result1 *ecdsa.PrivateKey, result2 error)
func (*Revocation) NewKeyFromBytesReturnsOnCall ¶
func (fake *Revocation) NewKeyFromBytesReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
func (*Revocation) NewKeyReturns ¶
func (fake *Revocation) NewKeyReturns(result1 *ecdsa.PrivateKey, result2 error)
func (*Revocation) NewKeyReturnsOnCall ¶
func (fake *Revocation) NewKeyReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
func (*Revocation) Sign ¶
func (fake *Revocation) Sign(arg1 *ecdsa.PrivateKey, arg2 [][]byte, arg3 int, arg4 types.RevocationAlgorithm) ([]byte, error)
func (*Revocation) SignArgsForCall ¶
func (fake *Revocation) SignArgsForCall(i int) (*ecdsa.PrivateKey, [][]byte, int, types.RevocationAlgorithm)
func (*Revocation) SignCallCount ¶
func (fake *Revocation) SignCallCount() int
func (*Revocation) SignCalls ¶
func (fake *Revocation) SignCalls(stub func(*ecdsa.PrivateKey, [][]byte, int, types.RevocationAlgorithm) ([]byte, error))
func (*Revocation) SignReturns ¶
func (fake *Revocation) SignReturns(result1 []byte, result2 error)
func (*Revocation) SignReturnsOnCall ¶
func (fake *Revocation) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*Revocation) Verify ¶
func (fake *Revocation) Verify(arg1 *ecdsa.PublicKey, arg2 []byte, arg3 int, arg4 types.RevocationAlgorithm) error
func (*Revocation) VerifyArgsForCall ¶
func (fake *Revocation) VerifyArgsForCall(i int) (*ecdsa.PublicKey, []byte, int, types.RevocationAlgorithm)
func (*Revocation) VerifyCallCount ¶
func (fake *Revocation) VerifyCallCount() int
func (*Revocation) VerifyCalls ¶
func (fake *Revocation) VerifyCalls(stub func(*ecdsa.PublicKey, []byte, int, types.RevocationAlgorithm) error)
func (*Revocation) VerifyReturns ¶
func (fake *Revocation) VerifyReturns(result1 error)
func (*Revocation) VerifyReturnsOnCall ¶
func (fake *Revocation) VerifyReturnsOnCall(i int, result1 error)
type SignatureScheme ¶
type SignatureScheme struct { AuditNymEidStub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType) error AuditNymRhStub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType) error SignStub func([]byte, *math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, []types.IdemixAttribute, []byte, int, int, []byte, types.SignatureType, *types.IdemixSignerMetadata) ([]byte, *types.IdemixSignerMetadata, error) VerifyStub func(types.IssuerPublicKey, []byte, []byte, []types.IdemixAttribute, int, int, *ecdsa.PublicKey, int, types.VerificationType, *types.IdemixSignerMetadata) error // contains filtered or unexported fields }
func (*SignatureScheme) AuditNymEid ¶
func (fake *SignatureScheme) AuditNymEid(arg1 types.IssuerPublicKey, arg2 int, arg3 []byte, arg4 string, arg5 *math.Zr, arg6 types.AuditVerificationType) error
func (*SignatureScheme) AuditNymEidArgsForCall ¶
func (fake *SignatureScheme) AuditNymEidArgsForCall(i int) (types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType)
func (*SignatureScheme) AuditNymEidCallCount ¶
func (fake *SignatureScheme) AuditNymEidCallCount() int
func (*SignatureScheme) AuditNymEidCalls ¶
func (fake *SignatureScheme) AuditNymEidCalls(stub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType) error)
func (*SignatureScheme) AuditNymEidReturns ¶
func (fake *SignatureScheme) AuditNymEidReturns(result1 error)
func (*SignatureScheme) AuditNymEidReturnsOnCall ¶
func (fake *SignatureScheme) AuditNymEidReturnsOnCall(i int, result1 error)
func (*SignatureScheme) AuditNymRh ¶
func (fake *SignatureScheme) AuditNymRh(arg1 types.IssuerPublicKey, arg2 int, arg3 []byte, arg4 string, arg5 *math.Zr, arg6 types.AuditVerificationType) error
func (*SignatureScheme) AuditNymRhArgsForCall ¶
func (fake *SignatureScheme) AuditNymRhArgsForCall(i int) (types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType)
func (*SignatureScheme) AuditNymRhCallCount ¶
func (fake *SignatureScheme) AuditNymRhCallCount() int
func (*SignatureScheme) AuditNymRhCalls ¶
func (fake *SignatureScheme) AuditNymRhCalls(stub func(types.IssuerPublicKey, int, []byte, string, *math.Zr, types.AuditVerificationType) error)
func (*SignatureScheme) AuditNymRhReturns ¶
func (fake *SignatureScheme) AuditNymRhReturns(result1 error)
func (*SignatureScheme) AuditNymRhReturnsOnCall ¶
func (fake *SignatureScheme) AuditNymRhReturnsOnCall(i int, result1 error)
func (*SignatureScheme) Invocations ¶
func (fake *SignatureScheme) Invocations() map[string][][]interface{}
func (*SignatureScheme) Sign ¶
func (fake *SignatureScheme) Sign(arg1 []byte, arg2 *math.Zr, arg3 *math.G1, arg4 *math.Zr, arg5 types.IssuerPublicKey, arg6 []types.IdemixAttribute, arg7 []byte, arg8 int, arg9 int, arg10 []byte, arg11 types.SignatureType, arg12 *types.IdemixSignerMetadata) ([]byte, *types.IdemixSignerMetadata, error)
func (*SignatureScheme) SignArgsForCall ¶
func (fake *SignatureScheme) SignArgsForCall(i int) ([]byte, *math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, []types.IdemixAttribute, []byte, int, int, []byte, types.SignatureType, *types.IdemixSignerMetadata)
func (*SignatureScheme) SignCallCount ¶
func (fake *SignatureScheme) SignCallCount() int
func (*SignatureScheme) SignCalls ¶
func (fake *SignatureScheme) SignCalls(stub func([]byte, *math.Zr, *math.G1, *math.Zr, types.IssuerPublicKey, []types.IdemixAttribute, []byte, int, int, []byte, types.SignatureType, *types.IdemixSignerMetadata) ([]byte, *types.IdemixSignerMetadata, error))
func (*SignatureScheme) SignReturns ¶
func (fake *SignatureScheme) SignReturns(result1 []byte, result2 *types.IdemixSignerMetadata, result3 error)
func (*SignatureScheme) SignReturnsOnCall ¶
func (fake *SignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 *types.IdemixSignerMetadata, result3 error)
func (*SignatureScheme) Verify ¶
func (fake *SignatureScheme) Verify(arg1 types.IssuerPublicKey, arg2 []byte, arg3 []byte, arg4 []types.IdemixAttribute, arg5 int, arg6 int, arg7 *ecdsa.PublicKey, arg8 int, arg9 types.VerificationType, arg10 *types.IdemixSignerMetadata) error
func (*SignatureScheme) VerifyArgsForCall ¶
func (fake *SignatureScheme) VerifyArgsForCall(i int) (types.IssuerPublicKey, []byte, []byte, []types.IdemixAttribute, int, int, *ecdsa.PublicKey, int, types.VerificationType, *types.IdemixSignerMetadata)
func (*SignatureScheme) VerifyCallCount ¶
func (fake *SignatureScheme) VerifyCallCount() int
func (*SignatureScheme) VerifyCalls ¶
func (fake *SignatureScheme) VerifyCalls(stub func(types.IssuerPublicKey, []byte, []byte, []types.IdemixAttribute, int, int, *ecdsa.PublicKey, int, types.VerificationType, *types.IdemixSignerMetadata) error)
func (*SignatureScheme) VerifyReturns ¶
func (fake *SignatureScheme) VerifyReturns(result1 error)
func (*SignatureScheme) VerifyReturnsOnCall ¶
func (fake *SignatureScheme) VerifyReturnsOnCall(i int, result1 error)
type User ¶
type User struct { MakeNymStub func(*math.Zr, types.IssuerPublicKey) (*math.G1, *math.Zr, error) NewKeyStub func() (*math.Zr, error) NewKeyFromBytesStub func([]byte) (*math.Zr, error) NewNymFromBytesStub func([]byte) (*math.G1, *math.Zr, error) NewPublicNymFromBytesStub func([]byte) (*math.G1, error) // contains filtered or unexported fields }
func (*User) Invocations ¶
func (*User) MakeNymArgsForCall ¶
func (*User) MakeNymCallCount ¶
func (*User) MakeNymCalls ¶
func (*User) MakeNymReturns ¶
func (*User) MakeNymReturnsOnCall ¶
func (*User) NewKeyCallCount ¶
func (*User) NewKeyFromBytesArgsForCall ¶
func (*User) NewKeyFromBytesCallCount ¶
func (*User) NewKeyFromBytesCalls ¶
func (*User) NewKeyFromBytesReturns ¶
func (*User) NewKeyFromBytesReturnsOnCall ¶
func (*User) NewKeyReturnsOnCall ¶
func (*User) NewNymFromBytes ¶
func (*User) NewNymFromBytesArgsForCall ¶
func (*User) NewNymFromBytesCallCount ¶
func (*User) NewNymFromBytesCalls ¶
func (*User) NewNymFromBytesReturns ¶
func (*User) NewNymFromBytesReturnsOnCall ¶
func (*User) NewPublicNymFromBytes ¶
func (*User) NewPublicNymFromBytesArgsForCall ¶
func (*User) NewPublicNymFromBytesCallCount ¶
func (*User) NewPublicNymFromBytesCalls ¶
func (*User) NewPublicNymFromBytesReturns ¶
Click to show internal directories.
Click to hide internal directories.