Documentation
¶
Index ¶
- Constants
- Variables
- type AnpMessageServiceOptions
- type AuthMode
- type DIDWbaAuthHeader
- type DidDocumentBundle
- type DidDocumentOptions
- type DidProfile
- type DidWbaVerifierConfig
- type DirectSessionState
- type GeneratedKeyPairPEM
- type HttpSignatureOptions
- type IMGenerationOptions
- type IMProof
- type KeyType
- type MessageServiceE2EEClient
- type OneTimePrekey
- type ParsedIMSignatureInput
- type PrekeyBundle
- type PrivateKeyMaterial
- type PublicKeyMaterial
- type RFC9421OriginProof
- type RFC9421OriginProofGenerationOptions
- type RFC9421OriginProofVerificationOptions
- type SignedRequestObject
- type TargetKind
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 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 MessageServiceE2EEClient ¶
type MessageServiceE2EEClient = directe2ee.MessageServiceDirectE2eeClient
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 RFC9421OriginProofGenerationOptions ¶
type RFC9421OriginProofGenerationOptions = anpproof.RFC9421OriginProofGenerationOptions
type RFC9421OriginProofVerificationOptions ¶
type RFC9421OriginProofVerificationOptions = anpproof.RFC9421OriginProofVerificationOptions
type SignedRequestObject ¶
type SignedRequestObject = anpproof.SignedRequestObject
type TargetKind ¶
type TargetKind = anpproof.TargetKind
Click to show internal directories.
Click to hide internal directories.