SOSTransportKeyParameter.h [plain text]
#ifndef SOSTransportKeyParameter_h
#define SOSTransportKeyParameter_h
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFRuntime.h>
#include <Security/SecureObjectSync/SOSAccount.h>
typedef struct __OpaqueSOSTransportKeyParameter * SOSTransportKeyParameterRef;
struct __OpaqueSOSTransportKeyParameter {
CFRuntimeBase _base;
SOSAccountRef account;
CFStringRef (*copyDescription)(SOSTransportKeyParameterRef object);
void (*destroy)(SOSTransportKeyParameterRef object);
bool (*publishCloudParameters)(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef* error);
bool (*handleKeyParameterChanges)(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef error);
bool (*setToNewAccount)(SOSTransportKeyParameterRef transport, SOSAccountRef account);
CFIndex (*getTransportType)(SOSTransportKeyParameterRef transport, CFErrorRef *error);
};
bool SOSTransportKeyParameterPublishCloudParameters(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef* error);
SOSTransportKeyParameterRef SOSTransportKeyParameterCreateForSubclass(size_t size, SOSAccountRef account, CFErrorRef *error);
bool SOSTransportKeyParameterHandleKeyParameterChanges(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef error);
bool SOSTransportKeyParameterHandleNewAccount(SOSTransportKeyParameterRef transport, SOSAccountRef account);
CFTypeID SOSTransportKeyParameterGetTypeID(void);
SOSAccountRef SOSTransportKeyParameterGetAccount(SOSTransportKeyParameterRef transport);
CFIndex SOSTransportKeyParameterGetTransportType(SOSTransportKeyParameterRef transport, CFErrorRef *error);
bool SOSTransportKeyParameterPublishLastKeyParameters(SOSTransportKeyParameterRef transport, CFDataRef Parameters, CFErrorRef *error);
#endif