anpsdk

package
v1.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ModulePath    = "github.com/agent-network-protocol/anp/golang"
	ModuleVersion = "v0.8.7"
)

Variables

View Source
var (
	KeyTypeSecp256r1                  = anp.KeyTypeSecp256r1
	KeyTypeSecp256k1                  = anp.KeyTypeSecp256k1
	KeyTypeEd25519                    = anp.KeyTypeEd25519
	KeyTypeX25519                     = anp.KeyTypeX25519
	DidProfileE1                      = anpauth.DidProfileE1
	DidProfileK1                      = anpauth.DidProfileK1
	AuthModeHTTPSignatures            = anpauth.AuthModeHTTPSignatures
	AuthModeAuto                      = anpauth.AuthModeAuto
	GenerateKeyPairPEM                = anp.GenerateKeyPairPEM
	PrivateKeyFromPEM                 = anp.PrivateKeyFromPEM
	PublicKeyFromPEM                  = anp.PublicKeyFromPEM
	BuildANPMessageService            = anpauth.BuildANPMessageService
	CreateDidWBADocument              = anpauth.CreateDidWBADocument
	ResolveDidDocument                = anpauth.ResolveDidDocument
	ResolveDidDocumentWithOptions     = anpauth.ResolveDidDocumentWithOptions
	GenerateAuthHeader                = anpauth.GenerateAuthHeader
	GenerateHTTPSignatureHeaders      = anpauth.GenerateHTTPSignatureHeaders
	NewDIDWbaAuthHeader               = anpauth.NewDIDWbaAuthHeader
	NewDidWbaVerifier                 = anpauth.NewDidWbaVerifier
	NewFileSessionStore               = directe2ee.NewFileSessionStore
	NewFileSignedPrekeyStore          = directe2ee.NewFileSignedPrekeyStore
	NewFileOneTimePrekeyStore         = directe2ee.NewFileOneTimePrekeyStore
	NewFilePendingOutboundStore       = directe2ee.NewFilePendingOutboundStore
	NewMessageServiceDirectE2eeClient = directe2ee.NewMessageServiceDirectE2eeClient
	BuildIMContentDigest              = anpproof.BuildIMContentDigest
	BuildIMSignatureInput             = anpproof.BuildIMSignatureInput
	ParseIMSignatureInput             = anpproof.ParseIMSignatureInput
	EncodeIMSignature                 = anpproof.EncodeIMSignature
	GenerateIMProof                   = anpproof.GenerateIMProof
	VerifyIMProofWithDocument         = anpproof.VerifyIMProofWithDocument
	GenerateGroupReceiptProof         = anpproof.GenerateGroupReceiptProof
	VerifyGroupReceiptProof           = anpproof.VerifyGroupReceiptProof
	BuildSignedRequestObject          = anpproof.BuildSignedRequestObject
	CanonicalizeSignedRequestObject   = anpproof.CanonicalizeSignedRequestObject
	BuildLogicalTargetURI             = anpproof.BuildLogicalTargetURI
	BuildRFC9421OriginSignatureBase   = anpproof.BuildRFC9421OriginSignatureBase
	GenerateRFC9421OriginProof        = anpproof.GenerateRFC9421OriginProof
	VerifyRFC9421OriginProof          = anpproof.VerifyRFC9421OriginProof
	TargetKindAgent                   = anpproof.TargetKindAgent
	TargetKindGroup                   = anpproof.TargetKindGroup
	TargetKindService                 = anpproof.TargetKindService
)

Functions

This section is empty.

Types

type AnpMessageServiceOptions

type AnpMessageServiceOptions = anpauth.AnpMessageServiceOptions

type AuthMode

type AuthMode = anpauth.AuthMode

type DIDWbaAuthHeader

type DIDWbaAuthHeader = anpauth.DIDWbaAuthHeader

type DidDocumentBundle

type DidDocumentBundle = anpauth.DidDocumentBundle

type DidDocumentOptions

type DidDocumentOptions = anpauth.DidDocumentOptions

type DidProfile

type DidProfile = anpauth.DidProfile

type DidWbaVerifierConfig

type DidWbaVerifierConfig = anpauth.DidWbaVerifierConfig

type DirectSessionState

type DirectSessionState = directe2ee.DirectSessionState

type GeneratedKeyPairPEM

type GeneratedKeyPairPEM = anp.GeneratedKeyPairPEM

type HttpSignatureOptions

type HttpSignatureOptions = anpauth.HttpSignatureOptions

type IMGenerationOptions

type IMGenerationOptions = anpproof.IMGenerationOptions

type IMProof

type IMProof = anpproof.IMProof

type KeyType

type KeyType = anp.KeyType

type OneTimePrekey added in v1.0.16

type OneTimePrekey = directe2ee.OneTimePrekey

type ParsedIMSignatureInput

type ParsedIMSignatureInput = anpproof.ParsedIMSignatureInput

type PrekeyBundle

type PrekeyBundle = directe2ee.PrekeyBundle

type PrivateKeyMaterial

type PrivateKeyMaterial = anp.PrivateKeyMaterial

type PublicKeyMaterial

type PublicKeyMaterial = anp.PublicKeyMaterial

type RFC9421OriginProof

type RFC9421OriginProof = anpproof.RFC9421OriginProof

type SignedRequestObject

type SignedRequestObject = anpproof.SignedRequestObject

type TargetKind

type TargetKind = anpproof.TargetKind

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL