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

// Generic/internal class name =  Cert
// Wrapped Chilkat C++ class name =  CkCert

@class CkoCertChain;
@class CkoBinData;
@class CkoPrivateKey;
@class CkoPublicKey;
@class CkoDateTime;
@class CkoPkcs11;
@class CkoTask;
@class CkoJsonObject;
@class CkoXmlCertVault;


@class CkoBaseProgress;

@interface CkoCert : NSObject {

	@private
		void *m_eventCallback;
		void *m_obj;

}

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

- (void)clearCppImplObj;

// property setter: EventCallbackObject
- (void)setEventCallbackObject: (CkoBaseProgress *)eventObj;

@property (nonatomic, readonly, copy) NSString *AuthorityKeyId;
@property (nonatomic, readonly, copy) NSNumber *CertVersion;
@property (nonatomic, copy) NSString *DebugLogFilePath;
@property (nonatomic, readonly) BOOL Expired;
@property (nonatomic, readonly, copy) NSString *ExtendedKeyUsage;
@property (nonatomic, readonly) BOOL ForClientAuthentication;
@property (nonatomic, readonly) BOOL ForCodeSigning;
@property (nonatomic, readonly) BOOL ForSecureEmail;
@property (nonatomic, readonly) BOOL ForServerAuthentication;
@property (nonatomic, readonly) BOOL ForTimeStamping;
@property (nonatomic, readonly, copy) NSNumber *IntendedKeyUsage;
@property (nonatomic, readonly) BOOL IsRoot;
@property (nonatomic, readonly, copy) NSString *IssuerC;
@property (nonatomic, readonly, copy) NSString *IssuerCN;
@property (nonatomic, readonly, copy) NSString *IssuerDN;
@property (nonatomic, readonly, copy) NSString *IssuerE;
@property (nonatomic, readonly, copy) NSString *IssuerL;
@property (nonatomic, readonly, copy) NSString *IssuerO;
@property (nonatomic, readonly, copy) NSString *IssuerOU;
@property (nonatomic, readonly, copy) NSString *IssuerS;
@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) NSString *OcspUrl;
@property (nonatomic, readonly) BOOL PrivateKeyExportable;
@property (nonatomic, readonly) BOOL Revoked;
@property (nonatomic, readonly, copy) NSString *Rfc822Name;
@property (nonatomic, readonly) BOOL SelfSigned;
@property (nonatomic, readonly, copy) NSString *SerialDecimal;
@property (nonatomic, readonly, copy) NSString *SerialNumber;
@property (nonatomic, readonly, copy) NSString *Sha1Thumbprint;
@property (nonatomic, readonly) BOOL SignatureVerified;
@property (nonatomic, readonly, copy) NSNumber *SmartCardFailReason;
@property (nonatomic, copy) NSString *SmartCardPin;
@property (nonatomic, readonly, copy) NSString *SubjectAlternativeName;
@property (nonatomic, readonly, copy) NSString *SubjectC;
@property (nonatomic, readonly, copy) NSString *SubjectCN;
@property (nonatomic, readonly, copy) NSString *SubjectDN;
@property (nonatomic, readonly, copy) NSString *SubjectE;
@property (nonatomic, readonly, copy) NSString *SubjectKeyId;
@property (nonatomic, readonly, copy) NSString *SubjectL;
@property (nonatomic, readonly, copy) NSString *SubjectO;
@property (nonatomic, readonly, copy) NSString *SubjectOU;
@property (nonatomic, readonly, copy) NSString *SubjectS;
@property (nonatomic, readonly) BOOL TrustedRoot;
@property (nonatomic, copy) NSString *UncommonOptions;
@property (nonatomic, readonly, copy) NSString *ValidFromStr;
@property (nonatomic, readonly, copy) NSString *ValidToStr;
@property (nonatomic) BOOL VerboseLogging;
@property (nonatomic, readonly, copy) NSString *Version;
// method: BuildCertChain
- (BOOL)BuildCertChain: (CkoCertChain *)certChain;
// method: CheckSmartCardPin
- (NSNumber *)CheckSmartCardPin;
// method: ExportCertDer
- (NSData *)ExportCertDer;
// method: ExportCertDerBd
- (BOOL)ExportCertDerBd: (CkoBinData *)cerData;
// method: ExportCertDerFile
- (BOOL)ExportCertDerFile: (NSString *)path;
// method: ExportCertPem
- (NSString *)ExportCertPem;
// method: ExportCertPemFile
- (BOOL)ExportCertPemFile: (NSString *)path;
// method: ExportCertXml
- (NSString *)ExportCertXml;
// method: ExportPrivateKey
- (CkoPrivateKey *)ExportPrivateKey;
// method: ExportPublicKey
- (CkoPublicKey *)ExportPublicKey;
// method: ExportToPfxBd
- (BOOL)ExportToPfxBd: (NSString *)password 
	includeCertChain: (BOOL)includeCertChain 
	pfxData: (CkoBinData *)pfxData;
// method: ExportToPfxData
- (NSData *)ExportToPfxData: (NSString *)password 
	includeCertChain: (BOOL)includeCertChain;
// method: ExportToPfxFile
- (BOOL)ExportToPfxFile: (NSString *)pfxFilename 
	pfxPassword: (NSString *)pfxPassword 
	bIncludeCertChain: (BOOL)bIncludeCertChain;
// method: FindIssuer
- (CkoCert *)FindIssuer;
// method: GetCertChain
- (CkoCertChain *)GetCertChain;
// method: GetEncoded
- (NSString *)GetEncoded;
// method: GetExtensionAsText
- (NSString *)GetExtensionAsText: (NSString *)oid;
// method: GetExtensionAsXml
- (NSString *)GetExtensionAsXml: (NSString *)oid;
// method: GetExtensionBd
- (BOOL)GetExtensionBd: (NSString *)oid 
	bd: (CkoBinData *)bd;
// method: GetIssuer
- (BOOL)GetIssuer: (CkoCert *)issuer;
// method: GetPrivateKey
- (BOOL)GetPrivateKey: (CkoPrivateKey *)privKey;
// method: GetPrivateKeyPem
- (NSString *)GetPrivateKeyPem;
// method: GetPubKeyDer
- (BOOL)GetPubKeyDer: (BOOL)preferPkcs1 
	bd: (CkoBinData *)bd;
// method: GetPublicKey
- (BOOL)GetPublicKey: (CkoPublicKey *)pubKey;
// method: GetSignature
- (BOOL)GetSignature: (CkoBinData *)bd;
// method: GetSpkiFingerprint
- (NSString *)GetSpkiFingerprint: (NSString *)hashAlg 
	encoding: (NSString *)encoding;
// method: GetSubjectPart
- (NSString *)GetSubjectPart: (NSString *)partNameOrOid;
// method: GetValidFromDt
- (CkoDateTime *)GetValidFromDt;
// method: GetValidToDt
- (CkoDateTime *)GetValidToDt;
// method: HashOf
- (NSString *)HashOf: (NSString *)part 
	hashAlg: (NSString *)hashAlg 
	encoding: (NSString *)encoding;
// method: HasPrivateKey
- (BOOL)HasPrivateKey;
// method: IsEcdsa
- (BOOL)IsEcdsa;
// method: IsRsa
- (BOOL)IsRsa;
// method: LinkPkcs11
- (BOOL)LinkPkcs11: (CkoPkcs11 *)session;
// method: LoadByCommonName
- (BOOL)LoadByCommonName: (NSString *)cn;
// method: LoadByEmailAddress
- (BOOL)LoadByEmailAddress: (NSString *)emailAddress;
// method: LoadByIssuerAndSerialNumber
- (BOOL)LoadByIssuerAndSerialNumber: (NSString *)issuerCN 
	serialNumber: (NSString *)serialNumber;
// method: LoadBySubjectOid
- (BOOL)LoadBySubjectOid: (NSString *)oid 
	value: (NSString *)value;
// method: LoadByThumbprint
- (BOOL)LoadByThumbprint: (NSString *)thumbprint 
	encoding: (NSString *)encoding;
// method: LoadFromBase64
- (BOOL)LoadFromBase64: (NSString *)encodedCert;
// method: LoadFromBd
- (BOOL)LoadFromBd: (CkoBinData *)certBytes;
// method: LoadFromBinary
- (BOOL)LoadFromBinary: (NSData *)data;
// method: LoadFromFile
- (BOOL)LoadFromFile: (NSString *)path;
// method: LoadFromSmartcard
- (BOOL)LoadFromSmartcard: (NSString *)certSpec;
// method: LoadPem
- (BOOL)LoadPem: (NSString *)strPem;
// method: LoadPfxBd
- (BOOL)LoadPfxBd: (CkoBinData *)pfxData 
	password: (NSString *)password;
// method: LoadPfxData
- (BOOL)LoadPfxData: (NSData *)pfxData 
	password: (NSString *)password;
// method: LoadPfxFile
- (BOOL)LoadPfxFile: (NSString *)path 
	password: (NSString *)password;
// method: LoadTaskResult
- (BOOL)LoadTaskResult: (CkoTask *)task;
// method: PemFileToDerFile
- (BOOL)PemFileToDerFile: (NSString *)fromPath 
	toPath: (NSString *)toPath;
// method: SaveToFile
- (BOOL)SaveToFile: (NSString *)path;
// method: SetCloudSigner
- (BOOL)SetCloudSigner: (CkoJsonObject *)json;
// method: SetCloudSignerAsync
- (CkoTask *)SetCloudSignerAsync: (CkoJsonObject *)json;
// method: SetFromEncoded
- (BOOL)SetFromEncoded: (NSString *)encodedCert;
// method: SetPrivateKey
- (BOOL)SetPrivateKey: (CkoPrivateKey *)privKey;
// method: SetPrivateKeyPem
- (BOOL)SetPrivateKeyPem: (NSString *)privKeyPem;
// method: Unload
- (BOOL)Unload;
// method: UploadToCloud
- (BOOL)UploadToCloud: (CkoJsonObject *)jsonIn 
	jsonOut: (CkoJsonObject *)jsonOut;
// method: UploadToCloudAsync
- (CkoTask *)UploadToCloudAsync: (CkoJsonObject *)jsonIn 
	jsonOut: (CkoJsonObject *)jsonOut;
// method: UseCertVault
- (BOOL)UseCertVault: (CkoXmlCertVault *)vault;
// method: VerifySignature
- (BOOL)VerifySignature;
// method: X509PKIPathv1
- (NSString *)X509PKIPathv1;

@end
