put(opAppleAnchor);
}
+void Requirement::Maker::anchorGeneric()
+{
+ put(opAppleGenericAnchor);
+}
+
void Requirement::Maker::anchor(int slot, SHA1::Digest digest)
{
put(opAnchorHash);
}
+
+void Requirement::Maker::copy(const Requirement *req)
+{
+ assert(req);
+ if (req->kind() != exprForm) // don't know how to embed this
+ MacOSError::throwMe(errSecCSReqUnsupported);
+ this->copy(req->at<const void>(sizeof(Requirement)), req->length() - sizeof(Requirement));
+}
+
+
void *Requirement::Maker::insert(const Label &label, size_t length)
{
require(length);