Package mock
import "github.com/hyperledger/fabric/bccsp/idemix/handlers/mock"
- Overview
- Index
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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
- type Big
- func (fake *Big) Bytes() ([]byte, error)
- func (fake *Big) BytesCallCount() int
- func (fake *Big) BytesReturns(result1 []byte, result2 error)
- func (fake *Big) BytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Big) Invocations() map[string][][]interface{}
- type CredRequest
- func (fake *CredRequest) Invocations() map[string][][]interface{}
- func (fake *CredRequest) Sign(sk handlers.Big, ipk handlers.IssuerPublicKey, nonce []byte) ([]byte, error)
- func (fake *CredRequest) SignArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey, []byte)
- func (fake *CredRequest) SignCallCount() int
- func (fake *CredRequest) SignReturns(result1 []byte, result2 error)
- func (fake *CredRequest) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *CredRequest) Verify(credRequest []byte, ipk handlers.IssuerPublicKey, nonce []byte) error
- func (fake *CredRequest) VerifyArgsForCall(i int) ([]byte, handlers.IssuerPublicKey, []byte)
- func (fake *CredRequest) VerifyCallCount() int
- 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(key handlers.IssuerSecretKey, credentialRequest []byte, attributes []bccsp.IdemixAttribute) ([]byte, error)
- func (fake *Credential) SignArgsForCall(i int) (handlers.IssuerSecretKey, []byte, []bccsp.IdemixAttribute)
- func (fake *Credential) SignCallCount() int
- func (fake *Credential) SignReturns(result1 []byte, result2 error)
- func (fake *Credential) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Credential) Verify(sk handlers.Big, ipk handlers.IssuerPublicKey, credential []byte, attributes []bccsp.IdemixAttribute) error
- func (fake *Credential) VerifyArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey, []byte, []bccsp.IdemixAttribute)
- func (fake *Credential) VerifyCallCount() int
- func (fake *Credential) VerifyReturns(result1 error)
- func (fake *Credential) VerifyReturnsOnCall(i int, result1 error)
- type Ecp
- func (fake *Ecp) Bytes() ([]byte, error)
- func (fake *Ecp) BytesCallCount() int
- func (fake *Ecp) BytesReturns(result1 []byte, result2 error)
- func (fake *Ecp) BytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Ecp) Invocations() map[string][][]interface{}
- type Issuer
- func (fake *Issuer) Invocations() map[string][][]interface{}
- func (fake *Issuer) NewKey(AttributeNames []string) (handlers.IssuerSecretKey, error)
- func (fake *Issuer) NewKeyArgsForCall(i int) []string
- func (fake *Issuer) NewKeyCallCount() int
- func (fake *Issuer) NewKeyReturns(result1 handlers.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewKeyReturnsOnCall(i int, result1 handlers.IssuerSecretKey, result2 error)
- func (fake *Issuer) NewPublicKeyFromBytes(raw []byte, attributes []string) (handlers.IssuerPublicKey, error)
- func (fake *Issuer) NewPublicKeyFromBytesArgsForCall(i int) ([]byte, []string)
- func (fake *Issuer) NewPublicKeyFromBytesCallCount() int
- func (fake *Issuer) NewPublicKeyFromBytesReturns(result1 handlers.IssuerPublicKey, result2 error)
- func (fake *Issuer) NewPublicKeyFromBytesReturnsOnCall(i int, result1 handlers.IssuerPublicKey, result2 error)
- type IssuerPublicKey
- func (fake *IssuerPublicKey) Bytes() ([]byte, error)
- func (fake *IssuerPublicKey) BytesCallCount() int
- 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) 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) 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() handlers.IssuerPublicKey
- func (fake *IssuerSecretKey) PublicCallCount() int
- func (fake *IssuerSecretKey) PublicReturns(result1 handlers.IssuerPublicKey)
- func (fake *IssuerSecretKey) PublicReturnsOnCall(i int, result1 handlers.IssuerPublicKey)
- type NymSignatureScheme
- func (fake *NymSignatureScheme) Invocations() map[string][][]interface{}
- func (fake *NymSignatureScheme) Sign(sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, digest []byte) ([]byte, error)
- func (fake *NymSignatureScheme) SignArgsForCall(i int) (handlers.Big, handlers.Ecp, handlers.Big, handlers.IssuerPublicKey, []byte)
- func (fake *NymSignatureScheme) SignCallCount() int
- func (fake *NymSignatureScheme) SignReturns(result1 []byte, result2 error)
- func (fake *NymSignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *NymSignatureScheme) Verify(pk handlers.IssuerPublicKey, Nym handlers.Ecp, signature []byte, digest []byte) error
- func (fake *NymSignatureScheme) VerifyArgsForCall(i int) (handlers.IssuerPublicKey, handlers.Ecp, []byte, []byte)
- func (fake *NymSignatureScheme) VerifyCallCount() int
- 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) NewKeyReturns(result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) NewKeyReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
- func (fake *Revocation) Sign(key *ecdsa.PrivateKey, unrevokedHandles [][]byte, epoch int, alg bccsp.RevocationAlgorithm) ([]byte, error)
- func (fake *Revocation) SignArgsForCall(i int) (*ecdsa.PrivateKey, [][]byte, int, bccsp.RevocationAlgorithm)
- func (fake *Revocation) SignCallCount() int
- func (fake *Revocation) SignReturns(result1 []byte, result2 error)
- func (fake *Revocation) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Revocation) Verify(pk *ecdsa.PublicKey, cri []byte, epoch int, alg bccsp.RevocationAlgorithm) error
- func (fake *Revocation) VerifyArgsForCall(i int) (*ecdsa.PublicKey, []byte, int, bccsp.RevocationAlgorithm)
- func (fake *Revocation) VerifyCallCount() int
- func (fake *Revocation) VerifyReturns(result1 error)
- func (fake *Revocation) VerifyReturnsOnCall(i int, result1 error)
- type SignatureScheme
- func (fake *SignatureScheme) Invocations() map[string][][]interface{}
- func (fake *SignatureScheme) Sign(cred []byte, sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, attributes []bccsp.IdemixAttribute, msg []byte, rhIndex int, cri []byte) ([]byte, error)
- func (fake *SignatureScheme) SignArgsForCall(i int) ([]byte, handlers.Big, handlers.Ecp, handlers.Big, handlers.IssuerPublicKey, []bccsp.IdemixAttribute, []byte, int, []byte)
- func (fake *SignatureScheme) SignCallCount() int
- func (fake *SignatureScheme) SignReturns(result1 []byte, result2 error)
- func (fake *SignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignatureScheme) Verify(pk handlers.IssuerPublicKey, signature []byte, digest []byte, attributes []bccsp.IdemixAttribute, hIndex int, revocationPublicKey *ecdsa.PublicKey, epoch int) error
- func (fake *SignatureScheme) VerifyArgsForCall(i int) (handlers.IssuerPublicKey, []byte, []byte, []bccsp.IdemixAttribute, int, *ecdsa.PublicKey, int)
- func (fake *SignatureScheme) VerifyCallCount() int
- 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(sk handlers.Big, key handlers.IssuerPublicKey) (handlers.Ecp, handlers.Big, error)
- func (fake *User) MakeNymArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey)
- func (fake *User) MakeNymCallCount() int
- func (fake *User) MakeNymReturns(result1 handlers.Ecp, result2 handlers.Big, result3 error)
- func (fake *User) MakeNymReturnsOnCall(i int, result1 handlers.Ecp, result2 handlers.Big, result3 error)
- func (fake *User) NewKey() (handlers.Big, error)
- func (fake *User) NewKeyCallCount() int
- func (fake *User) NewKeyFromBytes(raw []byte) (handlers.Big, error)
- func (fake *User) NewKeyFromBytesArgsForCall(i int) []byte
- func (fake *User) NewKeyFromBytesCallCount() int
- func (fake *User) NewKeyFromBytesReturns(result1 handlers.Big, result2 error)
- func (fake *User) NewKeyFromBytesReturnsOnCall(i int, result1 handlers.Big, result2 error)
- func (fake *User) NewKeyReturns(result1 handlers.Big, result2 error)
- func (fake *User) NewKeyReturnsOnCall(i int, result1 handlers.Big, result2 error)
- func (fake *User) NewPublicNymFromBytes(raw []byte) (handlers.Ecp, error)
- func (fake *User) NewPublicNymFromBytesArgsForCall(i int) []byte
- func (fake *User) NewPublicNymFromBytesCallCount() int
- func (fake *User) NewPublicNymFromBytesReturns(result1 handlers.Ecp, result2 error)
- func (fake *User) NewPublicNymFromBytesReturnsOnCall(i int, result1 handlers.Ecp, result2 error)
Package files
big.go
credential.go
credrequest.go
ecp.go
issuer.go
issuer_public_key.go
issuer_secret_key.go
nymsignature_scheme.go
revocation.go
signature_scheme.go
user.go
type Big struct {
BytesStub func() ([]byte, error)
}
func (*Big) Bytes
¶
func (fake *Big) Bytes() ([]byte, error)
func (fake *Big) BytesCallCount() int
func (fake *Big) BytesReturns(result1 []byte, result2 error)
func (fake *Big) BytesReturnsOnCall(i int, result1 []byte, result2 error)
func (fake *Big) Invocations() map[string][][]interface{}
type CredRequest struct {
SignStub func(sk handlers.Big, ipk handlers.IssuerPublicKey, nonce []byte) ([]byte, error)
VerifyStub func(credRequest []byte, ipk handlers.IssuerPublicKey, nonce []byte) error
}
func (fake *CredRequest) Invocations() map[string][][]interface{}
func (*CredRequest) Sign
¶
func (fake *CredRequest) Sign(sk handlers.Big, ipk handlers.IssuerPublicKey, nonce []byte) ([]byte, error)
func (fake *CredRequest) SignArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey, []byte)
func (fake *CredRequest) SignCallCount() int
func (fake *CredRequest) SignReturns(result1 []byte, result2 error)
func (fake *CredRequest) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*CredRequest) Verify
¶
func (fake *CredRequest) Verify(credRequest []byte, ipk handlers.IssuerPublicKey, nonce []byte) error
func (fake *CredRequest) VerifyArgsForCall(i int) ([]byte, handlers.IssuerPublicKey, []byte)
func (fake *CredRequest) VerifyCallCount() int
func (fake *CredRequest) VerifyReturns(result1 error)
func (fake *CredRequest) VerifyReturnsOnCall(i int, result1 error)
type Credential struct {
SignStub func(key handlers.IssuerSecretKey, credentialRequest []byte, attributes []bccsp.IdemixAttribute) ([]byte, error)
VerifyStub func(sk handlers.Big, ipk handlers.IssuerPublicKey, credential []byte, attributes []bccsp.IdemixAttribute) error
}
func (fake *Credential) Invocations() map[string][][]interface{}
func (*Credential) Sign
¶
func (fake *Credential) Sign(key handlers.IssuerSecretKey, credentialRequest []byte, attributes []bccsp.IdemixAttribute) ([]byte, error)
func (fake *Credential) SignArgsForCall(i int) (handlers.IssuerSecretKey, []byte, []bccsp.IdemixAttribute)
func (fake *Credential) SignCallCount() int
func (fake *Credential) SignReturns(result1 []byte, result2 error)
func (fake *Credential) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*Credential) Verify
¶
func (fake *Credential) Verify(sk handlers.Big, ipk handlers.IssuerPublicKey, credential []byte, attributes []bccsp.IdemixAttribute) error
func (fake *Credential) VerifyArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey, []byte, []bccsp.IdemixAttribute)
func (fake *Credential) VerifyCallCount() int
func (fake *Credential) VerifyReturns(result1 error)
func (fake *Credential) VerifyReturnsOnCall(i int, result1 error)
type Ecp struct {
BytesStub func() ([]byte, error)
}
func (*Ecp) Bytes
¶
func (fake *Ecp) Bytes() ([]byte, error)
func (fake *Ecp) BytesCallCount() int
func (fake *Ecp) BytesReturns(result1 []byte, result2 error)
func (fake *Ecp) BytesReturnsOnCall(i int, result1 []byte, result2 error)
func (fake *Ecp) Invocations() map[string][][]interface{}
type Issuer struct {
NewKeyStub func(AttributeNames []string) (handlers.IssuerSecretKey, error)
NewPublicKeyFromBytesStub func(raw []byte, attributes []string) (handlers.IssuerPublicKey, error)
}
func (fake *Issuer) Invocations() map[string][][]interface{}
func (*Issuer) NewKey
¶
func (fake *Issuer) NewKey(AttributeNames []string) (handlers.IssuerSecretKey, error)
func (fake *Issuer) NewKeyArgsForCall(i int) []string
func (fake *Issuer) NewKeyCallCount() int
func (fake *Issuer) NewKeyReturns(result1 handlers.IssuerSecretKey, result2 error)
func (fake *Issuer) NewKeyReturnsOnCall(i int, result1 handlers.IssuerSecretKey, result2 error)
func (fake *Issuer) NewPublicKeyFromBytes(raw []byte, attributes []string) (handlers.IssuerPublicKey, error)
func (fake *Issuer) NewPublicKeyFromBytesArgsForCall(i int) ([]byte, []string)
func (fake *Issuer) NewPublicKeyFromBytesCallCount() int
func (fake *Issuer) NewPublicKeyFromBytesReturns(result1 handlers.IssuerPublicKey, result2 error)
func (fake *Issuer) NewPublicKeyFromBytesReturnsOnCall(i int, result1 handlers.IssuerPublicKey, result2 error)
type IssuerPublicKey struct {
BytesStub func() ([]byte, error)
HashStub func() []byte
}
func (*IssuerPublicKey) Bytes
¶
func (fake *IssuerPublicKey) Bytes() ([]byte, error)
func (fake *IssuerPublicKey) BytesCallCount() int
func (fake *IssuerPublicKey) BytesReturns(result1 []byte, result2 error)
func (fake *IssuerPublicKey) BytesReturnsOnCall(i int, result1 []byte, result2 error)
func (*IssuerPublicKey) Hash
¶
func (fake *IssuerPublicKey) Hash() []byte
func (fake *IssuerPublicKey) HashCallCount() int
func (*IssuerPublicKey) HashReturns
¶
func (fake *IssuerPublicKey) HashReturns(result1 []byte)
func (fake *IssuerPublicKey) HashReturnsOnCall(i int, result1 []byte)
func (*IssuerPublicKey) Invocations
¶
func (fake *IssuerPublicKey) Invocations() map[string][][]interface{}
type IssuerSecretKey struct {
BytesStub func() ([]byte, error)
PublicStub func() handlers.IssuerPublicKey
}
func (*IssuerSecretKey) Bytes
¶
func (fake *IssuerSecretKey) Bytes() ([]byte, error)
func (fake *IssuerSecretKey) BytesCallCount() int
func (fake *IssuerSecretKey) BytesReturns(result1 []byte, result2 error)
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() handlers.IssuerPublicKey
func (fake *IssuerSecretKey) PublicCallCount() int
func (fake *IssuerSecretKey) PublicReturns(result1 handlers.IssuerPublicKey)
func (fake *IssuerSecretKey) PublicReturnsOnCall(i int, result1 handlers.IssuerPublicKey)
type NymSignatureScheme struct {
SignStub func(sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, digest []byte) ([]byte, error)
VerifyStub func(pk handlers.IssuerPublicKey, Nym handlers.Ecp, signature, digest []byte) error
}
func (*NymSignatureScheme) Invocations
¶
func (fake *NymSignatureScheme) Invocations() map[string][][]interface{}
func (*NymSignatureScheme) Sign
¶
func (fake *NymSignatureScheme) Sign(sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, digest []byte) ([]byte, error)
func (fake *NymSignatureScheme) SignArgsForCall(i int) (handlers.Big, handlers.Ecp, handlers.Big, handlers.IssuerPublicKey, []byte)
func (fake *NymSignatureScheme) SignCallCount() int
func (*NymSignatureScheme) SignReturns
¶
func (fake *NymSignatureScheme) SignReturns(result1 []byte, result2 error)
func (fake *NymSignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*NymSignatureScheme) Verify
¶
func (fake *NymSignatureScheme) Verify(pk handlers.IssuerPublicKey, Nym handlers.Ecp, signature []byte, digest []byte) error
func (fake *NymSignatureScheme) VerifyArgsForCall(i int) (handlers.IssuerPublicKey, handlers.Ecp, []byte, []byte)
func (fake *NymSignatureScheme) VerifyCallCount() int
func (fake *NymSignatureScheme) VerifyReturns(result1 error)
func (fake *NymSignatureScheme) VerifyReturnsOnCall(i int, result1 error)
type Revocation struct {
NewKeyStub func() (*ecdsa.PrivateKey, error)
SignStub func(key *ecdsa.PrivateKey, unrevokedHandles [][]byte, epoch int, alg bccsp.RevocationAlgorithm) ([]byte, error)
VerifyStub func(pk *ecdsa.PublicKey, cri []byte, epoch int, alg bccsp.RevocationAlgorithm) error
}
func (fake *Revocation) Invocations() map[string][][]interface{}
func (*Revocation) NewKey
¶
func (fake *Revocation) NewKey() (*ecdsa.PrivateKey, error)
func (fake *Revocation) NewKeyCallCount() int
func (fake *Revocation) NewKeyReturns(result1 *ecdsa.PrivateKey, result2 error)
func (fake *Revocation) NewKeyReturnsOnCall(i int, result1 *ecdsa.PrivateKey, result2 error)
func (*Revocation) Sign
¶
func (fake *Revocation) Sign(key *ecdsa.PrivateKey, unrevokedHandles [][]byte, epoch int, alg bccsp.RevocationAlgorithm) ([]byte, error)
func (fake *Revocation) SignArgsForCall(i int) (*ecdsa.PrivateKey, [][]byte, int, bccsp.RevocationAlgorithm)
func (fake *Revocation) SignCallCount() int
func (fake *Revocation) SignReturns(result1 []byte, result2 error)
func (fake *Revocation) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*Revocation) Verify
¶
func (fake *Revocation) Verify(pk *ecdsa.PublicKey, cri []byte, epoch int, alg bccsp.RevocationAlgorithm) error
func (fake *Revocation) VerifyArgsForCall(i int) (*ecdsa.PublicKey, []byte, int, bccsp.RevocationAlgorithm)
func (fake *Revocation) VerifyCallCount() int
func (fake *Revocation) VerifyReturns(result1 error)
func (fake *Revocation) VerifyReturnsOnCall(i int, result1 error)
type SignatureScheme struct {
SignStub func(cred []byte, sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, attributes []bccsp.IdemixAttribute, msg []byte, rhIndex int, cri []byte) ([]byte, error)
VerifyStub func(pk handlers.IssuerPublicKey, signature, digest []byte, attributes []bccsp.IdemixAttribute, hIndex int, revocationPublicKey *ecdsa.PublicKey, epoch int) error
}
func (*SignatureScheme) Invocations
¶
func (fake *SignatureScheme) Invocations() map[string][][]interface{}
func (*SignatureScheme) Sign
¶
func (fake *SignatureScheme) Sign(cred []byte, sk handlers.Big, Nym handlers.Ecp, RNym handlers.Big, ipk handlers.IssuerPublicKey, attributes []bccsp.IdemixAttribute, msg []byte, rhIndex int, cri []byte) ([]byte, error)
func (fake *SignatureScheme) SignArgsForCall(i int) ([]byte, handlers.Big, handlers.Ecp, handlers.Big, handlers.IssuerPublicKey, []bccsp.IdemixAttribute, []byte, int, []byte)
func (fake *SignatureScheme) SignCallCount() int
func (*SignatureScheme) SignReturns
¶
func (fake *SignatureScheme) SignReturns(result1 []byte, result2 error)
func (fake *SignatureScheme) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignatureScheme) Verify
¶
func (fake *SignatureScheme) Verify(pk handlers.IssuerPublicKey, signature []byte, digest []byte, attributes []bccsp.IdemixAttribute, hIndex int, revocationPublicKey *ecdsa.PublicKey, epoch int) error
func (fake *SignatureScheme) VerifyArgsForCall(i int) (handlers.IssuerPublicKey, []byte, []byte, []bccsp.IdemixAttribute, int, *ecdsa.PublicKey, int)
func (fake *SignatureScheme) VerifyCallCount() int
func (fake *SignatureScheme) VerifyReturns(result1 error)
func (fake *SignatureScheme) VerifyReturnsOnCall(i int, result1 error)
type User struct {
NewKeyStub func() (handlers.Big, error)
NewKeyFromBytesStub func(raw []byte) (handlers.Big, error)
MakeNymStub func(sk handlers.Big, key handlers.IssuerPublicKey) (handlers.Ecp, handlers.Big, error)
NewPublicNymFromBytesStub func(raw []byte) (handlers.Ecp, error)
}
func (fake *User) Invocations() map[string][][]interface{}
func (fake *User) MakeNym(sk handlers.Big, key handlers.IssuerPublicKey) (handlers.Ecp, handlers.Big, error)
func (fake *User) MakeNymArgsForCall(i int) (handlers.Big, handlers.IssuerPublicKey)
func (fake *User) MakeNymCallCount() int
func (fake *User) MakeNymReturns(result1 handlers.Ecp, result2 handlers.Big, result3 error)
func (fake *User) MakeNymReturnsOnCall(i int, result1 handlers.Ecp, result2 handlers.Big, result3 error)
func (fake *User) NewKey() (handlers.Big, error)
func (fake *User) NewKeyCallCount() int
func (fake *User) NewKeyFromBytes(raw []byte) (handlers.Big, error)
func (fake *User) NewKeyFromBytesArgsForCall(i int) []byte
func (fake *User) NewKeyFromBytesCallCount() int
func (fake *User) NewKeyFromBytesReturns(result1 handlers.Big, result2 error)
func (fake *User) NewKeyFromBytesReturnsOnCall(i int, result1 handlers.Big, result2 error)
func (fake *User) NewKeyReturns(result1 handlers.Big, result2 error)
func (fake *User) NewKeyReturnsOnCall(i int, result1 handlers.Big, result2 error)
func (fake *User) NewPublicNymFromBytes(raw []byte) (handlers.Ecp, error)
func (fake *User) NewPublicNymFromBytesArgsForCall(i int) []byte
func (fake *User) NewPublicNymFromBytesCallCount() int
func (fake *User) NewPublicNymFromBytesReturns(result1 handlers.Ecp, result2 error)
func (fake *User) NewPublicNymFromBytesReturnsOnCall(i int, result1 handlers.Ecp, result2 error)