-//
-// Our DiskRep::signingContext methods communicate with the signing subsystem
-// in terms those callers can easily understand.
-//
-string SecCodeSigner::sdkPath(const std::string &path) const
-{
- assert(path[0] == '/'); // need absolute path here
- if (mSDKRoot)
- return cfString(mSDKRoot) + path;
- else
- return path;
-}
-
-bool SecCodeSigner::isAdhoc() const
-{
- return mSigner == SecIdentityRef(kCFNull);
-}
-
-SecCSFlags SecCodeSigner::signingFlags() const
-{
- return mOpFlags;
-}
-
-