Mobile API Reference  MicroStrategy 2019
MSICertificateManager Class Reference

#import <MSICertificateManager.h>

Inheritance diagram for MSICertificateManager:

Instance Methods

(BOOL- loadCertificate:pkcs12Password:
 
(NSString *) - certificateInfoPath
 
(CertificateInfo *) - getCertificateInfo
 
(SecIdentityRef) - getCertificateIdentity
 
(NSArray *) - getClientCertificateChain
 
(void) - clearCertificates
 
(BOOL- isCertificateExpired
 
(void) - loadEmbeddedClientCertificate
 
(BOOL- isUsingEmbeddedCertificate
 
(void) - persistCertificate
 
(BOOL- shouldPerformConnectionSecurityMeasuresForURLRequest:
 
(BOOL- evaluateServerTrust:forURLRequest:
 
(BOOL- shouldWaitForClientAuthentication
 
(BOOL- isCertificateCleared
 

Class Methods

(MSICertificateManager *) + getInstance
 

Properties

BOOL isCertificateValid
 
id< AuthenticationCodePromptCallback > callback
 
BOOL certificateFetchedUsingURL
 
BOOL shouldPinPublicKey
 

Method Documentation

◆ certificateInfoPath()

- (NSString*) certificateInfoPath

◆ clearCertificates()

- (void) clearCertificates

◆ evaluateServerTrust:forURLRequest:()

- (BOOL) evaluateServerTrust: (SecTrustRef)  serverTrust
forURLRequest: (NSURLRequest *)  request 

◆ getCertificateIdentity()

- (SecIdentityRef) getCertificateIdentity

◆ getCertificateInfo()

- (CertificateInfo*) getCertificateInfo

◆ getClientCertificateChain()

- (NSArray*) getClientCertificateChain

◆ getInstance()

+ (MSICertificateManager *) getInstance

◆ isCertificateCleared()

- (BOOL) isCertificateCleared

◆ isCertificateExpired()

- (BOOL) isCertificateExpired

◆ isUsingEmbeddedCertificate()

- (BOOL) isUsingEmbeddedCertificate

◆ loadCertificate:pkcs12Password:()

- (BOOL) loadCertificate: (NSData *)  data
pkcs12Password: (NSString *)  pkcs12Password 

◆ loadEmbeddedClientCertificate()

- (void) loadEmbeddedClientCertificate

◆ persistCertificate()

- (void) persistCertificate

◆ shouldPerformConnectionSecurityMeasuresForURLRequest:()

- (BOOL) shouldPerformConnectionSecurityMeasuresForURLRequest: (NSURLRequest *)  request

◆ shouldWaitForClientAuthentication()

- (BOOL) shouldWaitForClientAuthentication

Property Documentation

◆ callback

- (id<AuthenticationCodePromptCallback>) callback
readwritenonatomicunsafe_unretained

◆ certificateFetchedUsingURL

- (BOOL) certificateFetchedUsingURL
readwriteatomic

◆ isCertificateValid

- (BOOL) isCertificateValid
readwriteatomic

◆ shouldPinPublicKey

- (BOOL) shouldPinPublicKey
readwritenonatomicassign