Foxit PDF SDK  9.1
FSEnvelope Class Reference
Inheritance diagram for FSEnvelope:
FSBase

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(NSString *) - getDecryptionKey:password:
 Get the decryption key.
More...
 
(id) - initWithBuffer:
 Constructor, from a buffer of envelope data which represents PKCS#12 in binary.
More...
 
(id) - initWithCertFilePath:
 Constructor, from an existing certificate file path.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithOther:
 Constructor, with another envelope object.
More...
 
(id) - NS_UNAVAILABLE
 

Additional Inherited Members

- Protected Attributes inherited from FSBase
BOOL swigCMemOwn
 
void * swigCPtr
 

Detailed Description

This class represents data of an envelope which would be used in certificate encryption.

Method Documentation

◆ dealloc

- (void) dealloc

Reimplemented from FSBase.

◆ getCptr

- (void*) getCptr

Reimplemented from FSBase.

◆ getDecryptionKey:password:

- (NSString *) getDecryptionKey: (NSString *)  p12FilePath
password: (NSString *)  password 

Get the decryption key.

Parameters
[in]p12FilePathA full path of a .p12 file. It should not be an empty string.
[in]passwordThe password string for .p12 file.
Returns
The decryption key.

◆ initWithBuffer:

- (id) initWithBuffer: (NSData *)  buffer

Constructor, from a buffer of envelope data which represents PKCS#12 in binary.

Parameters
[in]bufferA buffer of envelope data which represents PKCS#12 in binary.

◆ initWithCertFilePath:

- (id) initWithCertFilePath: (NSString *)  certFilePath

Constructor, from an existing certificate file path.

Parameters
[in]certFilePathA full path of an existing certificate file(.cer file). It should not be an empty string.

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

Reimplemented from FSBase.

◆ initWithOther:

- (id) initWithOther: (FSEnvelope*)  other

Constructor, with another envelope object.

◆ NS_UNAVAILABLE

- (id) NS_UNAVAILABLE