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() discovery.DNSResolver
- func SetRequestInfo(requestInfo *api.RequestInfo, url string, body []byte) error
- type AuthenticatedConnectionsSignatory
- func NewAuthenticatedConnectionsSignatoryClient(conn *grpc.ClientConn, options *AuthenticatedConnectionsSignatoryClientOptions) AuthenticatedConnectionsSignatory
- func NewLocalAuthenticatedConnectionsSignatory(originCallsign string, reader io.Reader, clock clock.Clock, ...) AuthenticatedConnectionsSignatory
- type AuthenticatedConnectionsSignatoryClient
- func (sc *AuthenticatedConnectionsSignatoryClient) SignAuthenticatedConnection(request *api.AuthenticatedConnectionSignatureRequest) (*api.AuthenticatedConnectionSignatureResponse, error)
- func (sc *AuthenticatedConnectionsSignatoryClient) VerifyAuthenticatedConnection(request *api.AuthenticatedConnectionVerificationRequest) (*api.AuthenticatedConnectionVerificationResponse, error)
- type AuthenticatedConnectionsSignatoryClientOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSignatures ¶
func GetSignatures(response *api.AuthenticatedConnectionSignatureResponse) []string
func NewFakeKeyGeneratingDnsResolver ¶
func NewFakeKeyGeneratingDnsResolver() discovery.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) }
func NewAuthenticatedConnectionsSignatoryClient ¶ added in v0.7.0
func NewAuthenticatedConnectionsSignatoryClient(conn *grpc.ClientConn, options *AuthenticatedConnectionsSignatoryClientOptions) AuthenticatedConnectionsSignatory
func NewLocalAuthenticatedConnectionsSignatory ¶
func NewLocalAuthenticatedConnectionsSignatory(originCallsign string, reader io.Reader, clock clock.Clock, dnsResolver discovery.DNSResolver, domainStore discovery.DomainStore, privateKeyBase64Strings []string) AuthenticatedConnectionsSignatory
type AuthenticatedConnectionsSignatoryClient ¶ added in v0.7.0
type AuthenticatedConnectionsSignatoryClient struct {
// contains filtered or unexported fields
}
func (*AuthenticatedConnectionsSignatoryClient) SignAuthenticatedConnection ¶ added in v0.7.0
func (sc *AuthenticatedConnectionsSignatoryClient) SignAuthenticatedConnection(request *api.AuthenticatedConnectionSignatureRequest) (*api.AuthenticatedConnectionSignatureResponse, error)
func (*AuthenticatedConnectionsSignatoryClient) VerifyAuthenticatedConnection ¶ added in v0.7.0
func (sc *AuthenticatedConnectionsSignatoryClient) VerifyAuthenticatedConnection(request *api.AuthenticatedConnectionVerificationRequest) (*api.AuthenticatedConnectionVerificationResponse, error)
type AuthenticatedConnectionsSignatoryClientOptions ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.