Documentation ¶
Index ¶
- Constants
- type AuditInfoDeserializer
- type Deserializer
- func NewDeserializer(ipk []byte, curveID math.CurveID) (*Deserializer, error)
- func NewDeserializerWithBCCSP(ipk []byte, verType csp.VerificationType, nymEID []byte, ...) (*Deserializer, error)
- func NewDeserializerWithProvider(ipk []byte, verType csp.VerificationType, nymEID []byte, ...) (*Deserializer, error)
- func (i *Deserializer) DeserializeAuditInfo(raw []byte) (driver2.AuditInfo, error)
- func (i *Deserializer) DeserializeSigner(raw []byte) (driver.Signer, error)
- func (i *Deserializer) DeserializeVerifier(raw driver.Identity) (driver.Verifier, error)
- func (i *Deserializer) DeserializeVerifierAgainstNymEID(raw []byte, nymEID []byte) (driver.Verifier, error)
- func (i *Deserializer) GetOwnerAuditInfo(raw []byte, p driver.AuditInfoProvider) ([][]byte, error)
- func (i *Deserializer) GetOwnerMatcher(raw []byte) (driver.Matcher, error)
- func (i *Deserializer) Info(raw []byte, auditInfo []byte) (string, error)
- func (i *Deserializer) String() string
- type KeyManager
- func (p *KeyManager) Anonymous() bool
- func (p *KeyManager) DeserializeSigner(raw []byte) (driver.Signer, error)
- func (p *KeyManager) DeserializeSigningIdentity(raw []byte) (driver.SigningIdentity, error)
- func (p *KeyManager) DeserializeVerifier(raw []byte) (driver.Verifier, error)
- func (p *KeyManager) EnrollmentID() string
- func (p *KeyManager) Identity(auditInfo []byte) (driver.Identity, []byte, error)
- func (p *KeyManager) Info(raw []byte, auditInfo []byte) (string, error)
- func (p *KeyManager) IsRemote() bool
- func (p *KeyManager) String() string
- type KeyManagerProvider
- type SignerService
- type WrappedKeyManager
Constants ¶
View Source
const (
Any bccsp.SignatureType = 100
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditInfoDeserializer ¶
type AuditInfoDeserializer struct{}
func (*AuditInfoDeserializer) DeserializeAuditInfo ¶
func (c *AuditInfoDeserializer) DeserializeAuditInfo(raw []byte) (driver2.AuditInfo, error)
type Deserializer ¶
type Deserializer struct {
*msp2.Deserializer
}
func NewDeserializer ¶
func NewDeserializer(ipk []byte, curveID math.CurveID) (*Deserializer, error)
NewDeserializer returns a new deserializer for the idemix ExpectEidNymRhNym verification strategy
func NewDeserializerWithBCCSP ¶
func NewDeserializerWithBCCSP(ipk []byte, verType csp.VerificationType, nymEID []byte, cryptoProvider csp.BCCSP) (*Deserializer, error)
func NewDeserializerWithProvider ¶
func NewDeserializerWithProvider( ipk []byte, verType csp.VerificationType, nymEID []byte, cryptoProvider csp.BCCSP, ) (*Deserializer, error)
NewDeserializerWithProvider returns a new serialized for the passed arguments
func (*Deserializer) DeserializeAuditInfo ¶
func (i *Deserializer) DeserializeAuditInfo(raw []byte) (driver2.AuditInfo, error)
func (*Deserializer) DeserializeSigner ¶
func (i *Deserializer) DeserializeSigner(raw []byte) (driver.Signer, error)
func (*Deserializer) DeserializeVerifier ¶
func (*Deserializer) DeserializeVerifierAgainstNymEID ¶
func (*Deserializer) GetOwnerAuditInfo ¶
func (i *Deserializer) GetOwnerAuditInfo(raw []byte, p driver.AuditInfoProvider) ([][]byte, error)
func (*Deserializer) GetOwnerMatcher ¶
func (i *Deserializer) GetOwnerMatcher(raw []byte) (driver.Matcher, error)
func (*Deserializer) Info ¶
func (i *Deserializer) Info(raw []byte, auditInfo []byte) (string, error)
func (*Deserializer) String ¶
func (i *Deserializer) String() string
type KeyManager ¶
type KeyManager struct { *msp.Deserializer SignerService SignerService // contains filtered or unexported fields }
func NewKeyManager ¶
func NewKeyManager(conf1 *m.MSPConfig, signerService SignerService, sigType bccsp.SignatureType, cryptoProvider bccsp.BCCSP) (*KeyManager, error)
func (*KeyManager) Anonymous ¶
func (p *KeyManager) Anonymous() bool
func (*KeyManager) DeserializeSigner ¶
func (p *KeyManager) DeserializeSigner(raw []byte) (driver.Signer, error)
func (*KeyManager) DeserializeSigningIdentity ¶
func (p *KeyManager) DeserializeSigningIdentity(raw []byte) (driver.SigningIdentity, error)
func (*KeyManager) DeserializeVerifier ¶
func (p *KeyManager) DeserializeVerifier(raw []byte) (driver.Verifier, error)
func (*KeyManager) EnrollmentID ¶
func (p *KeyManager) EnrollmentID() string
func (*KeyManager) IsRemote ¶
func (p *KeyManager) IsRemote() bool
func (*KeyManager) String ¶
func (p *KeyManager) String() string
type KeyManagerProvider ¶
type KeyManagerProvider struct {
// contains filtered or unexported fields
}
func NewKeyManagerProvider ¶
func (*KeyManagerProvider) Get ¶
func (l *KeyManagerProvider) Get(identityConfig *driver.IdentityConfiguration) (common.KeyManager, error)
type SignerService ¶
type WrappedKeyManager ¶
type WrappedKeyManager struct { common.KeyManager // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.