Changed PGP backend from ObjectivePGP to GopenPGP
This commit is contained in:
parent
5439ad0f5b
commit
96f7c1960d
27 changed files with 647 additions and 193 deletions
29
go/dist/Gopenpgpwrapper.framework/Headers/Gopenpgpwrapper.objc.h
vendored
Normal file
29
go/dist/Gopenpgpwrapper.framework/Headers/Gopenpgpwrapper.objc.h
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
// 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue