1 #ifndef __MANIFEST_SIGNER__
2 #define __MANIFEST_SIGNER__
7 * Copyright (c) 2004,2011,2014 Apple Inc. All Rights Reserved.
9 * @APPLE_LICENSE_HEADER_START@
11 * This file contains Original Code and/or Modifications of Original Code
12 * as defined in and that are subject to the Apple Public Source License
13 * Version 2.0 (the 'License'). You may not use this file except in
14 * compliance with the License. Please obtain a copy of the License at
15 * http://www.opensource.apple.com/apsl/ and read it before using this
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
26 * @APPLE_LICENSE_HEADER_END@
31 #include "SecManifest.h"
32 #include "ManifestInternal.h"
41 virtual ~ManifestSigner ();
43 virtual CFDataRef
Export (ManifestInternal
& manifest
) = 0;
44 virtual void Verify (CFDataRef data
, SecManifestTrustSetupCallback setupCallback
, void* setupContext
,
45 SecManifestTrustEvaluateCallback evaluateCallback
, void* evaluateContext
,
46 SecPolicyRef policyRef
, ManifestInternal
*manifest
) = 0;
47 virtual void AddSigner (SecIdentityRef identityRef
) = 0;