passforios/go/dist/Gopenpgpwrapper.framework/Versions/Current/Headers/Gopenpgpwrapper.objc.h

30 lines
903 B
C
Raw Normal View History

// Objective-C API for talking to github.com/ZortacDev/GopenPGPWrapper/go/gopenpgpwrapper Go package.
// gobind -lang=objc github.com/ZortacDev/GopenPGPWrapper/go/gopenpgpwrapper
//
// File is generated by gobind. Do not edit.
#ifndef __Gopenpgpwrapper_H__
#define __Gopenpgpwrapper_H__
@import Foundation;
#include "ref.h"
#include "Universe.objc.h"
@class GopenpgpwrapperKey;
@interface GopenpgpwrapperKey : NSObject <goSeqRefInterface> {
}
@property(strong, readonly) _Nonnull id _ref;
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
- (nonnull instancetype)init;
- (NSData* _Nullable)decrypt:(NSData* _Nullable)ciphertext passphrase:(NSString* _Nullable)passphrase;
- (NSData* _Nullable)encrypt:(NSData* _Nullable)plaintext armor:(BOOL)armor;
- (NSString* _Nonnull)getKeyID;
@end
FOUNDATION_EXPORT GopenpgpwrapperKey* _Nullable GopenpgpwrapperReadKey(NSData* _Nullable data);
#endif