// Chilkat Objective-C header.
// This is a generated header file for Chilkat version 9.5.0.74

// Generic/internal class name =  Mime
// Wrapped Chilkat C++ class name =  CkMime

@class CkoCert;
@class CkoPrivateKey;
@class CkoStringArray;
@class CkoBinData;
@class CkoStringBuilder;
@class CkoCertChain;
@class CkoJsonObject;
@class CkoXmlCertVault;


@interface CkoMime : NSObject {

	@private
		void *m_obj;

}

- (id)init;
- (void)dealloc;
- (void)dispose;
- (NSString *)stringWithUtf8: (const char *)s;
- (void *)CppImplObj;
- (void)setCppImplObj: (void *)pObj;

- (void)clearCppImplObj;

@property (nonatomic, copy) NSString *Boundary;
@property (nonatomic, copy) NSString *Charset;
@property (nonatomic, copy) NSString *ContentType;
@property (nonatomic, readonly, copy) NSString *CurrentDateTime;
@property (nonatomic, copy) NSString *DebugLogFilePath;
@property (nonatomic, copy) NSString *Disposition;
@property (nonatomic, copy) NSString *Encoding;
@property (nonatomic, copy) NSString *Filename;
@property (nonatomic, readonly, copy) NSString *LastErrorHtml;
@property (nonatomic, readonly, copy) NSString *LastErrorText;
@property (nonatomic, readonly, copy) NSString *LastErrorXml;
@property (nonatomic) BOOL LastMethodSuccess;
@property (nonatomic, copy) NSString *Micalg;
@property (nonatomic, copy) NSString *Name;
@property (nonatomic, readonly, copy) NSNumber *NumEncryptCerts;
@property (nonatomic, readonly, copy) NSNumber *NumHeaderFields;
@property (nonatomic, readonly, copy) NSNumber *NumParts;
@property (nonatomic, readonly, copy) NSNumber *NumSignerCerts;
@property (nonatomic, copy) NSString *OaepHash;
@property (nonatomic, copy) NSString *OaepMgfHash;
@property (nonatomic) BOOL OaepPadding;
@property (nonatomic, copy) NSString *Pkcs7CryptAlg;
@property (nonatomic, copy) NSNumber *Pkcs7KeyLength;
@property (nonatomic, copy) NSString *Protocol;
@property (nonatomic, copy) NSString *SigningAlg;
@property (nonatomic, copy) NSString *SigningHashAlg;
@property (nonatomic) BOOL UnwrapExtras;
@property (nonatomic) BOOL UseMmDescription;
@property (nonatomic) BOOL UseXPkcs7;
@property (nonatomic) BOOL VerboseLogging;
@property (nonatomic, readonly, copy) NSString *Version;
// method: AddContentLength
- (void)AddContentLength;
// method: AddDecryptCert
- (BOOL)AddDecryptCert: (CkoCert *)cert;
// method: AddDetachedSignature
- (BOOL)AddDetachedSignature: (CkoCert *)cert;
// method: AddDetachedSignature2
- (BOOL)AddDetachedSignature2: (CkoCert *)cert 
	transferHeaderFields: (BOOL)transferHeaderFields;
// method: AddDetachedSignaturePk
- (BOOL)AddDetachedSignaturePk: (CkoCert *)cert 
	privateKey: (CkoPrivateKey *)privateKey;
// method: AddDetachedSignaturePk2
- (BOOL)AddDetachedSignaturePk2: (CkoCert *)cert 
	privateKey: (CkoPrivateKey *)privateKey 
	transferHeaderFields: (BOOL)transferHeaderFields;
// method: AddEncryptCert
- (BOOL)AddEncryptCert: (CkoCert *)cert;
// method: AddHeaderField
- (BOOL)AddHeaderField: (NSString *)name 
	value: (NSString *)value;
// method: AddPfxSourceData
- (BOOL)AddPfxSourceData: (NSData *)pfxData 
	password: (NSString *)password;
// method: AddPfxSourceFile
- (BOOL)AddPfxSourceFile: (NSString *)pfxFilePath 
	password: (NSString *)password;
// method: AppendPart
- (BOOL)AppendPart: (CkoMime *)mime;
// method: AppendPartFromFile
- (BOOL)AppendPartFromFile: (NSString *)path;
// method: AsnBodyToXml
- (NSString *)AsnBodyToXml;
// method: ClearEncryptCerts
- (void)ClearEncryptCerts;
// method: ContainsEncryptedParts
- (BOOL)ContainsEncryptedParts;
// method: ContainsSignedParts
- (BOOL)ContainsSignedParts;
// method: Convert8Bit
- (void)Convert8Bit;
// method: ConvertToMultipartAlt
- (BOOL)ConvertToMultipartAlt;
// method: ConvertToMultipartMixed
- (BOOL)ConvertToMultipartMixed;
// method: ConvertToSigned
- (BOOL)ConvertToSigned: (CkoCert *)cert;
// method: ConvertToSignedPk
- (BOOL)ConvertToSignedPk: (CkoCert *)cert 
	privateKey: (CkoPrivateKey *)privateKey;
// method: Decrypt
- (BOOL)Decrypt;
// method: Decrypt2
- (BOOL)Decrypt2: (CkoCert *)cert 
	privateKey: (CkoPrivateKey *)privateKey;
// method: DecryptUsingCert
- (BOOL)DecryptUsingCert: (CkoCert *)cert;
// method: DecryptUsingPfxData
- (BOOL)DecryptUsingPfxData: (NSData *)pfxData 
	password: (NSString *)password;
// method: DecryptUsingPfxFile
- (BOOL)DecryptUsingPfxFile: (NSString *)pfxFilePath 
	password: (NSString *)password;
// method: Encrypt
- (BOOL)Encrypt: (CkoCert *)cert;
// method: EncryptN
- (BOOL)EncryptN;
// method: ExtractPartsToFiles
- (CkoStringArray *)ExtractPartsToFiles: (NSString *)dirPath;
// method: FindIssuer
- (CkoCert *)FindIssuer: (CkoCert *)cert;
// method: GetBodyBd
- (BOOL)GetBodyBd: (CkoBinData *)binDat;
// method: GetBodyBinary
- (NSData *)GetBodyBinary;
// method: GetBodyDecoded
- (NSString *)GetBodyDecoded;
// method: GetBodyEncoded
- (NSString *)GetBodyEncoded;
// method: GetEncryptCert
- (CkoCert *)GetEncryptCert: (NSNumber *)index;
// method: GetEntireBody
- (NSString *)GetEntireBody;
// method: GetEntireHead
- (NSString *)GetEntireHead;
// method: GetHeaderField
- (NSString *)GetHeaderField: (NSString *)name;
// method: GetHeaderFieldAttribute
- (NSString *)GetHeaderFieldAttribute: (NSString *)name 
	attrName: (NSString *)attrName;
// method: GetHeaderFieldName
- (NSString *)GetHeaderFieldName: (NSNumber *)index;
// method: GetHeaderFieldValue
- (NSString *)GetHeaderFieldValue: (NSNumber *)index;
// method: GetMime
- (NSString *)GetMime;
// method: GetMimeBd
- (BOOL)GetMimeBd: (CkoBinData *)bindat;
// method: GetMimeBytes
- (NSData *)GetMimeBytes;
// method: GetMimeSb
- (BOOL)GetMimeSb: (CkoStringBuilder *)sb;
// method: GetPart
- (CkoMime *)GetPart: (NSNumber *)index;
// method: GetSignatureSigningTime
- (NSDate *)GetSignatureSigningTime: (NSNumber *)index;
// method: GetSignatureSigningTimeStr
- (NSString *)GetSignatureSigningTimeStr: (NSNumber *)index;
// method: GetSignerCert
- (CkoCert *)GetSignerCert: (NSNumber *)index;
// method: GetSignerCertChain
- (CkoCertChain *)GetSignerCertChain: (NSNumber *)index;
// method: GetStructure
- (NSString *)GetStructure: (NSString *)fmt;
// method: GetXml
- (NSString *)GetXml;
// method: HasSignatureSigningTime
- (BOOL)HasSignatureSigningTime: (NSNumber *)index;
// method: IsApplicationData
- (BOOL)IsApplicationData;
// method: IsAttachment
- (BOOL)IsAttachment;
// method: IsAudio
- (BOOL)IsAudio;
// method: IsEncrypted
- (BOOL)IsEncrypted;
// method: IsHtml
- (BOOL)IsHtml;
// method: IsImage
- (BOOL)IsImage;
// method: IsMultipart
- (BOOL)IsMultipart;
// method: IsMultipartAlternative
- (BOOL)IsMultipartAlternative;
// method: IsMultipartMixed
- (BOOL)IsMultipartMixed;
// method: IsMultipartRelated
- (BOOL)IsMultipartRelated;
// method: IsPlainText
- (BOOL)IsPlainText;
// method: IsSigned
- (BOOL)IsSigned;
// method: IsText
- (BOOL)IsText;
// method: IsUnlocked
- (BOOL)IsUnlocked;
// method: IsVideo
- (BOOL)IsVideo;
// method: IsXml
- (BOOL)IsXml;
// method: LastJsonData
- (CkoJsonObject *)LastJsonData;
// method: LoadMime
- (BOOL)LoadMime: (NSString *)mimeText;
// method: LoadMimeBd
- (BOOL)LoadMimeBd: (CkoBinData *)bindat;
// method: LoadMimeBytes
- (BOOL)LoadMimeBytes: (NSData *)bData;
// method: LoadMimeFile
- (BOOL)LoadMimeFile: (NSString *)path;
// method: LoadMimeSb
- (BOOL)LoadMimeSb: (CkoStringBuilder *)sb;
// method: LoadXml
- (BOOL)LoadXml: (NSString *)xmlText;
// method: LoadXmlFile
- (BOOL)LoadXmlFile: (NSString *)path;
// method: NewMessageRfc822
- (BOOL)NewMessageRfc822: (CkoMime *)mimeObject;
// method: NewMultipartAlternative
- (BOOL)NewMultipartAlternative;
// method: NewMultipartMixed
- (BOOL)NewMultipartMixed;
// method: NewMultipartRelated
- (BOOL)NewMultipartRelated;
// method: RemoveHeaderField
- (void)RemoveHeaderField: (NSString *)name 
	bAllOccurrences: (BOOL)bAllOccurrences;
// method: RemovePart
- (BOOL)RemovePart: (NSNumber *)index;
// method: SaveBody
- (BOOL)SaveBody: (NSString *)path;
// method: SaveLastError
- (BOOL)SaveLastError: (NSString *)path;
// method: SaveMime
- (BOOL)SaveMime: (NSString *)path;
// method: SaveXml
- (BOOL)SaveXml: (NSString *)path;
// method: SetBody
- (void)SetBody: (NSString *)str;
// method: SetBodyFromBinary
- (BOOL)SetBodyFromBinary: (NSData *)dbuf;
// method: SetBodyFromEncoded
- (BOOL)SetBodyFromEncoded: (NSString *)encoding 
	str: (NSString *)str;
// method: SetBodyFromFile
- (BOOL)SetBodyFromFile: (NSString *)path;
// method: SetBodyFromHtml
- (BOOL)SetBodyFromHtml: (NSString *)str;
// method: SetBodyFromPlainText
- (BOOL)SetBodyFromPlainText: (NSString *)str;
// method: SetBodyFromXml
- (BOOL)SetBodyFromXml: (NSString *)str;
// method: SetHeaderField
- (BOOL)SetHeaderField: (NSString *)name 
	value: (NSString *)value;
// method: SetVerifyCert
- (BOOL)SetVerifyCert: (CkoCert *)cert;
// method: UnlockComponent
- (BOOL)UnlockComponent: (NSString *)unlockCode;
// method: UnwrapSecurity
- (BOOL)UnwrapSecurity;
// method: UrlEncodeBody
- (void)UrlEncodeBody: (NSString *)charset;
// method: UseCertVault
- (BOOL)UseCertVault: (CkoXmlCertVault *)vault;
// method: Verify
- (BOOL)Verify;

@end
