Documentation ¶
Index ¶
- func GenerateFakeAdsCertRecordForTesting(adscertCallsign string) string
- func GenerateFakeKeyPairFromDomainNameForTesting(adscertCallsign string) ([32]byte, [32]byte)
- func GenerateFakePrivateKeysForTesting(adscertCallsign string) []string
- func GetSignatures(response *api.AuthenticatedConnectionSignatureResponse) []string
- func NewFakeKeyGeneratingDnsResolver() adscertcounterparty.DNSResolver
- func SetRequestInfo(requestInfo *api.RequestInfo, url string, body []byte) error
- type AuthenticatedConnectionsSignatory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSignatures ¶
func GetSignatures(response *api.AuthenticatedConnectionSignatureResponse) []string
func NewFakeKeyGeneratingDnsResolver ¶
func NewFakeKeyGeneratingDnsResolver() adscertcounterparty.DNSResolver
func SetRequestInfo ¶
func SetRequestInfo(requestInfo *api.RequestInfo, url string, body []byte) error
Types ¶
type AuthenticatedConnectionsSignatory ¶
type AuthenticatedConnectionsSignatory interface { SignAuthenticatedConnection(request *api.AuthenticatedConnectionSignatureRequest) (*api.AuthenticatedConnectionSignatureResponse, error) VerifyAuthenticatedConnection(request *api.AuthenticatedConnectionVerificationRequest) (*api.AuthenticatedConnectionVerificationResponse, error) }
Click to show internal directories.
Click to hide internal directories.