Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
Types ¶
type CounterpartyAPI ¶
type CounterpartyAPI interface { LookUpInvocationCounterpartyByHostname(invocationHostname string) (InvocationCounterparty, error) LookUpSignatureCounterpartyByCallsign(adsCertCallsign string) (SignatureCounterparty, error) SynchronizeForTesting() }
func NewCounterpartyManager ¶
func NewCounterpartyManager(dnsResolver DNSResolver, base64PrivateKeys []string) CounterpartyAPI
type CounterpartyStatus ¶
type CounterpartyStatus int
const ( StatusUnspecified CounterpartyStatus = iota StatusOK StatusNotYetChecked StatusErrorOnDNS StatusErrorOnDNSSEC StatusErrorOnAdsCertConfigParse StatusErrorOnAdsCertConfigEval StatusErrorOnKeyValidation )
func (CounterpartyStatus) String ¶
func (cs CounterpartyStatus) String() string
type DNSResolver ¶
func NewFakeDnsResolver ¶
func NewFakeDnsResolver() DNSResolver
func NewRealDnsResolver ¶
func NewRealDnsResolver() DNSResolver
type InvocationCounterparty ¶
type InvocationCounterparty interface { GetStatus() CounterpartyStatus GetSignatureCounterparties() []SignatureCounterparty }
type SharedSecret ¶
type SharedSecret interface {}
type SignatureCounterparty ¶
type SignatureCounterparty interface { GetAdsCertIdentityDomain() string GetStatus() CounterpartyStatus }
Click to show internal directories.
Click to hide internal directories.