Documentation ¶
Index ¶
Constants ¶
View Source
const RequestIdLength = 8
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChallengeResult ¶
type ChallengeResult struct { ChallengeStatus *ChallengeStatus RemainingTime *uint64 RemainingTries *uint64 IssuedCertificateName enc.Name ForwardingHint *ndncert.Links IssuedCertificateBits *[]byte ErrorMessage *ndncert.ErrorMessage }
type ChallengeStatus ¶
type ChallengeStatus uint64
const ( ChallengeStatusBeforeChallenge ChallengeStatus = iota ChallengeStatusAfterNewData ChallengeStatusAfterSelectionChallengeData ChallengeStatusFailure ChallengeStatusSuccess )
type InfoResult ¶
type InfoResult struct { CaPrefix string CaInfo string MaxValidityPeriod uint64 CaCertificate []byte }
func ExpressInfoInterest ¶
func ExpressInfoInterest(ndnEngine ndn.Engine, caPrefix string) (*InfoResult, error)
type NewResult ¶
type NewResult struct { RequestId *RequestId AvailableChallenges *[]string ErrorMessage *ndncert.ErrorMessage }
type RequestId ¶
type RequestId [RequestIdLength]byte
Click to show internal directories.
Click to hide internal directories.