Versions in this module Expand all Collapse all v0 v0.5.0 Jul 17, 2025 Changes in this version + const ExtraPathElement + const IdentityType + const KeystoreFolder + const KeystoreFullFolder + const PrivateKeyFileName + func NewKeyStore(kvs idriver.Keystore) crypto.KeyStore + type AuditInfo struct + EID string + RH []byte + func (a *AuditInfo) Bytes() ([]byte, error) + func (a *AuditInfo) EnrollmentID() string + func (a *AuditInfo) FromBytes(raw []byte) error + func (a *AuditInfo) RevocationHandle() string + type AuditInfoDeserializer struct + func (a *AuditInfoDeserializer) DeserializeAuditInfo(raw []byte) (driver2.AuditInfo, error) + type AuditInfoMatcher struct + EnrollmentID string + func (a *AuditInfoMatcher) Match(id []byte) error + type AuditMatcherDeserializer struct + func (a *AuditMatcherDeserializer) GetAuditInfoMatcher(owner driver.Identity, auditInfo []byte) (driver.Matcher, error) + type IdentityDeserializer struct + func (d *IdentityDeserializer) DeserializeVerifier(id driver.Identity) (driver.Verifier, error) + type KeyManager struct + func NewKeyManager(path string, signerService SignerService, bccspConfig *crypto.BCCSP, ...) (*KeyManager, *crypto.Config, error) + func NewKeyManagerFromConf(conf *crypto.Config, configPath, keyStoreDirName string, ...) (*KeyManager, *crypto.Config, error) + func (p *KeyManager) Anonymous() bool + func (p *KeyManager) DeserializeSigner(raw []byte) (driver.Signer, error) + func (p *KeyManager) DeserializeVerifier(raw []byte) (driver.Verifier, error) + func (p *KeyManager) EnrollmentID() string + func (p *KeyManager) Identity(context.Context, []byte) (driver.Identity, []byte, error) + func (p *KeyManager) IdentityType() identity.Type + func (p *KeyManager) Info(raw []byte, auditInfo []byte) (string, error) + func (p *KeyManager) IsRemote() bool + func (p *KeyManager) SigningIdentity() driver.SigningIdentity + func (p *KeyManager) String() string + type KeyManagerProvider struct + func NewKeyManagerProvider(config idriver.Config, signerService idriver.SigService, ...) *KeyManagerProvider + func (k *KeyManagerProvider) Get(idConfig *driver.IdentityConfiguration) (membership.KeyManager, error) + type SignerService interface + RegisterSigner func(ctx context.Context, identity driver.Identity, signer driver.Signer, ...) error