Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyNormalizationBlockchainPlugin = iota KeyNormalizationNone )
Variables ¶
This section is empty.
Functions ¶
func ParseKeyNormalizationConfig ¶ added in v0.14.0
Types ¶
type Manager ¶
type Manager interface { ResolveInputSigningIdentity(ctx context.Context, signerRef *core.SignerRef) (err error) ResolveInputVerifierRef(ctx context.Context, inputKey *core.VerifierRef, intent blockchain.ResolveKeyIntent) (*core.VerifierRef, error) ResolveInputSigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (signingKey string, err error) ResolveQuerySigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (signingKey string, err error) ResolveIdentitySigner(ctx context.Context, identity *core.Identity) (parentSigner *core.SignerRef, err error) ResolveMultipartyRootVerifier(ctx context.Context) (*core.VerifierRef, error) FindIdentityForVerifier(ctx context.Context, iTypes []core.IdentityType, verifier *core.VerifierRef) (identity *core.Identity, err error) CachedIdentityLookupByID(ctx context.Context, id *fftypes.UUID) (identity *core.Identity, err error) CachedIdentityLookupMustExist(ctx context.Context, did string) (identity *core.Identity, retryable bool, err error) CachedIdentityLookupNilOK(ctx context.Context, did string) (identity *core.Identity, retryable bool, err error) GetLocalNode(ctx context.Context) (node *core.Identity, err error) GetRootOrgDID(ctx context.Context) (string, error) GetRootOrg(ctx context.Context) (org *core.Identity, err error) VerifyIdentityChain(ctx context.Context, identity *core.Identity) (immediateParent *core.Identity, retryable bool, err error) ValidateNodeOwner(ctx context.Context, node *core.Identity, identity *core.Identity) (valid bool, err error) }
func NewIdentityManager ¶
Click to show internal directories.
Click to hide internal directories.