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

// Generic/internal class name =  Pem
// Wrapped Chilkat C++ class name =  CkPem

@class CkoCert;
@class CkoBinData;
@class CkoPrivateKey;
@class CkoCertChain;
@class CkoPublicKey;
@class CkoTask;
@class CkoJavaKeyStore;
@class CkoPfx;


@interface CkoPem : 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) BOOL AppendMode;
@property (nonatomic, copy) NSString *DebugLogFilePath;
@property (nonatomic, copy) NSNumber *HeartbeatMs;
@property (nonatomic, readonly, copy) NSString *LastErrorHtml;
@property (nonatomic, readonly, copy) NSString *LastErrorText;
@property (nonatomic, readonly, copy) NSString *LastErrorXml;
@property (nonatomic) BOOL LastMethodSuccess;
@property (nonatomic, readonly, copy) NSNumber *NumCerts;
@property (nonatomic, readonly, copy) NSNumber *NumCrls;
@property (nonatomic, readonly, copy) NSNumber *NumCsrs;
@property (nonatomic, readonly, copy) NSNumber *NumPrivateKeys;
@property (nonatomic, readonly, copy) NSNumber *NumPublicKeys;
@property (nonatomic, copy) NSString *PrivateKeyFormat;
@property (nonatomic, copy) NSString *PublicKeyFormat;
@property (nonatomic) BOOL VerboseLogging;
@property (nonatomic, readonly, copy) NSString *Version;
// method: AddCert
- (BOOL)AddCert: (CkoCert *)cert 
	includeChain: (BOOL)includeChain;
// method: AddItem
- (BOOL)AddItem: (NSString *)itemType 
	encoding: (NSString *)encoding 
	itemData: (NSString *)itemData;
// method: AddP7b
- (BOOL)AddP7b: (CkoBinData *)bd;
// method: AddPrivateKey
- (BOOL)AddPrivateKey: (CkoPrivateKey *)privateKey;
// method: AddPrivateKey2
- (BOOL)AddPrivateKey2: (CkoPrivateKey *)privKey 
	certChain: (CkoCertChain *)certChain;
// method: AddPublicKey
- (BOOL)AddPublicKey: (CkoPublicKey *)pubkey;
// method: CertAt
- (BOOL)CertAt: (NSNumber *)index 
	cert: (CkoCert *)cert;
// method: Clear
- (BOOL)Clear;
// method: GetCert
- (CkoCert *)GetCert: (NSNumber *)index;
// method: GetEncodedItem
- (NSString *)GetEncodedItem: (NSString *)itemType 
	itemSubType: (NSString *)itemSubType 
	encoding: (NSString *)encoding 
	index: (NSNumber *)index;
// method: GetPrivateKey
- (CkoPrivateKey *)GetPrivateKey: (NSNumber *)index;
// method: GetPublicKey
- (CkoPublicKey *)GetPublicKey: (NSNumber *)index;
// method: LoadP7b
- (BOOL)LoadP7b: (NSData *)p7bData;
// method: LoadP7bFile
- (BOOL)LoadP7bFile: (NSString *)path;
// method: LoadPem
- (BOOL)LoadPem: (NSString *)pemContent 
	password: (NSString *)password;
// method: LoadPemFile
- (BOOL)LoadPemFile: (NSString *)path 
	password: (NSString *)password;
// method: LoadTaskCaller
- (BOOL)LoadTaskCaller: (CkoTask *)task;
// method: PrivateKeyAt
- (BOOL)PrivateKeyAt: (NSNumber *)index 
	privKey: (CkoPrivateKey *)privKey;
// method: PublicKeyAt
- (BOOL)PublicKeyAt: (NSNumber *)index 
	pubKey: (CkoPublicKey *)pubKey;
// method: RemoveCert
- (BOOL)RemoveCert: (NSNumber *)index;
// method: RemovePrivateKey
- (BOOL)RemovePrivateKey: (NSNumber *)index;
// method: ToJks
- (CkoJavaKeyStore *)ToJks: (NSString *)alias 
	password: (NSString *)password;
// method: ToJksObj
- (BOOL)ToJksObj: (NSString *)alias 
	password: (NSString *)password 
	jksObj: (CkoJavaKeyStore *)jksObj;
// method: ToPem
- (NSString *)ToPem;
// method: ToPemEx
- (NSString *)ToPemEx: (BOOL)extendedAttrs 
	noKeys: (BOOL)noKeys 
	noCerts: (BOOL)noCerts 
	noCaCerts: (BOOL)noCaCerts 
	encryptAlg: (NSString *)encryptAlg 
	password: (NSString *)password;
// method: ToPfx
- (CkoPfx *)ToPfx;
// method: ToPfxObj
- (BOOL)ToPfxObj: (CkoPfx *)pfxObj;

@end
