Home
last modified time | relevance | path

Searched refs:tsig (Results 1 – 6 of 6) sorted by relevance

/external/smack/src/org/xbill/DNS/
DTSIG.java366 TSIGRecord tsig = m.getTSIG(); in verify() local
368 if (tsig == null) in verify()
371 if (!tsig.getName().equals(name) || !tsig.getAlgorithm().equals(alg)) { in verify()
377 long then = tsig.getTimeSigned().getTime(); in verify()
378 long fudge = tsig.getFudge(); in verify()
385 if (old != null && tsig.getError() != Rcode.BADKEY && in verify()
386 tsig.getError() != Rcode.BADSIG) in verify()
402 tsig.getName().toWireCanonical(out); in verify()
403 out.writeU16(tsig.dclass); in verify()
404 out.writeU32(tsig.ttl); in verify()
[all …]
DSimpleResolver.java33 private TSIG tsig; field in SimpleResolver
157 tsig = key; in setTSIGKey()
162 return tsig; in getTSIGKey()
195 verifyTSIG(Message query, Message response, byte [] b, TSIG tsig) { in verifyTSIG() argument
196 if (tsig == null) in verifyTSIG()
198 int error = tsig.verify(response, b, query.getTSIG()); in verifyTSIG()
241 if (tsig != null) in send()
242 tsig.apply(query, null); in send()
288 verifyTSIG(query, response, in, tsig); in send()
331 ZoneTransferIn xfrin = ZoneTransferIn.newAXFR(qname, address, tsig); in sendAXFR()
DZoneTransferIn.java58 private TSIG tsig; field in ZoneTransferIn
174 this.tsig = key; in ZoneTransferIn()
369 if (tsig != null) { in sendQuery()
370 tsig.apply(query, null); in sendQuery()
371 verifier = new TSIG.StreamVerifier(tsig, query.getTSIG()); in sendQuery()
/external/mdnsresponder/mDNSCore/
DDNSDigest.c1331 AuthRecord tsig; in DNSDigest_SignMessage() local
1348 …mDNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthReco… in DNSDigest_SignMessage()
1351 AssignDomainName(&tsig.namestorage, &info->keyname); in DNSDigest_SignMessage()
1355 tsig.resrec.rrclass = kDNSQClass_ANY; in DNSDigest_SignMessage()
1360 tsig.resrec.rroriginalttl = 0; in DNSDigest_SignMessage()
1361 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl)); in DNSDigest_SignMessage()
1364 AssignDomainName(&tsig.resrec.rdata->u.name, &HMAC_MD5_AlgName); in DNSDigest_SignMessage()
1366 rdata = tsig.resrec.rdata->u.data + len; in DNSDigest_SignMessage()
1420 tsig.resrec.rdlength = (mDNSu16)(rdata - tsig.resrec.rdata->u.data); in DNSDigest_SignMessage()
1421 *end = PutResourceRecordTTLJumbo(msg, ptr, &numAdditionals, &tsig.resrec, 0); in DNSDigest_SignMessage()
DmDNSEmbeddedAPI.h2506 extern mDNSBool DNSDigest_VerifyMessage(DNSMessage *msg, mDNSu8 *end, LargeCacheRecord *tsig, Domai…
/external/strace/
Dsignal.c367 char tsig[40]; in sprintsigmask() local
368 sprintf(tsig, "RT_%u", i - __SIGRTMIN); in sprintsigmask()
369 sprintf(s, format, tsig); in sprintsigmask()
373 char tsig[32]; in sprintsigmask() local
374 sprintf(tsig, "%u", i); in sprintsigmask()
375 sprintf(s, format, tsig); in sprintsigmask()