Optimize encrypt attachment
This commit is contained in:
parent
0456595f68
commit
9dfb46fe45
24 changed files with 726 additions and 94 deletions
39
dist/iOS/Crypto.framework/Versions/A/Headers/Key.objc.h
vendored
Normal file
39
dist/iOS/Crypto.framework/Versions/A/Headers/Key.objc.h
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
// Objective-C API for talking to gitlab.com/ProtonMail/go-pm-crypto/key Go package.
|
||||
// gobind -lang=objc gitlab.com/ProtonMail/go-pm-crypto/key
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
|
||||
#ifndef __Key_H__
|
||||
#define __Key_H__
|
||||
|
||||
@import Foundation;
|
||||
#include "Universe.objc.h"
|
||||
|
||||
#include "Armor.objc.h"
|
||||
|
||||
/**
|
||||
* CheckPassphrase check is private key passphrase ok
|
||||
*/
|
||||
FOUNDATION_EXPORT BOOL KeyCheckPassphrase(NSString* privateKey, NSString* passphrase);
|
||||
|
||||
/**
|
||||
* GetFingerprint get a armored public key fingerprint
|
||||
*/
|
||||
FOUNDATION_EXPORT NSString* KeyGetFingerprint(NSString* publicKey, NSError** error);
|
||||
|
||||
/**
|
||||
* GetFingerprintBinKey get a unarmored public key fingerprint
|
||||
*/
|
||||
FOUNDATION_EXPORT NSString* KeyGetFingerprintBinKey(NSData* publicKey, NSError** error);
|
||||
|
||||
/**
|
||||
* PublicKey get a public key from a private key
|
||||
*/
|
||||
FOUNDATION_EXPORT NSString* KeyPublicKey(NSString* privateKey, NSError** error);
|
||||
|
||||
/**
|
||||
* PublicKeyBinOut get a public key from a private key
|
||||
*/
|
||||
FOUNDATION_EXPORT NSData* KeyPublicKeyBinOut(NSString* privateKey, NSError** error);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue