#ifndef sec_SOSPeerInfoPriv_h
#define sec_SOSPeerInfoPriv_h
#include <CoreFoundation/CFRuntime.h>
#include <CoreFoundation/CoreFoundation.h>
#include <utilities/SecCFWrappers.h>
struct __OpaqueSOSPeerInfo {
CFRuntimeBase _base;
CFMutableDictionaryRef description;
CFDataRef signature;
CFDictionaryRef gestalt;
CFStringRef peerID;
CFIndex version;
CFStringRef verifiedAppKeyID;
bool verifiedResult;
CFMutableDictionaryRef v2Dictionary;
};
CF_RETURNS_RETAINED SOSPeerInfoRef SOSPeerInfoAllocate(CFAllocatorRef allocator);
bool SOSPeerInfoSign(SecKeyRef privKey, SOSPeerInfoRef peer, CFErrorRef *error);
bool SOSPeerInfoVerify(SOSPeerInfoRef peer, CFErrorRef *error);
void SOSPeerInfoSetVersionNumber(SOSPeerInfoRef pi, int version);
extern const CFStringRef peerIDLengthKey;
#endif