-
- BlackBerry Dynamics
- Runtime library for iOS applications
- 12.0.1.79
Go to the documentation of this file.
5 #ifndef GD_CREDENTIALS_PROFILE_H
6 #define GD_CREDENTIALS_PROFILE_H
14 # define GD_C_API __attribute__((visibility("default")))
488 size_t profileCount);
char * name
Display name.
Definition: GDCredentialsProfile.h:165
void GDCredentialsProfile_reset_type(GDCredentialsProfileType type)
Reset all the User Credential profiles of the same type.
char * providerSettings
Additional settings from the credential provider.
Definition: GDCredentialsProfile.h:185
@ GDCredentialsProfileStateImportNow
Another application has requested credentials.
Definition: GDCredentialsProfile.h:65
GDCredentialsProfileState state
Current or latest state.
Definition: GDCredentialsProfile.h:141
GDCredentialsProfileType
User Credential profile type.
Definition: GDCredentialsProfile.h:193
GDCredentialsProfileType GDCredentialsProfile_type(const char *profileId)
Return the profile type.
@ GDCredentialsProfileTypeUnknown
Unkown User Credential profile type.
Definition: GDCredentialsProfile.h:196
char * id
Identifier.
Definition: GDCredentialsProfile.h:134
void GDCredentialsProfile_unregister(void)
Unregister from notification of app-based User Credential profile state changes.
void GDCredentialsProfile_begin_enrolment(const char *profileId)
Begin enrolment for a User Credential profile.
void GDCredentialsProfile_free(struct GDCredentialsProfile *profiles, size_t profileCount)
Free a returned profiles buffer.
GDCredentialsProfileState
User Credential profile states.
Definition: GDCredentialsProfile.h:34
@ GDCredentialsProfileTypePKIConnector
PKI Connector User Credential profile.
Definition: GDCredentialsProfile.h:227
User Credential profile.
Definition: GDCredentialsProfile.h:122
@ GDCredentialsProfileTypeDeviceKeystore
Device User Credential profile.
Definition: GDCredentialsProfile.h:207
@ GDCredentialsProfileTypeAssistedSCEP
Assisted SCEP User Credential profile.
Definition: GDCredentialsProfile.h:219
int GDCredentialsProfile_days_until_expiry(const char *profileId)
Days until the next credential expires.
@ GDCredentialsProfileStateRenewalDue
Credentials will soon expire.
Definition: GDCredentialsProfile.h:98
void GDCredentialsProfile_register(GDCredentialsProfileEventCb cb, void *appData)
Register for notification of User Credential profile state changes.
int GDCredentialsProfile_days_until_renewal_due(const char *profileId)
Days until the next credential is due to be renewed.
bool GDCredentialsProfile_list(size_t *profileCount, struct GDCredentialsProfile **profiles, struct GDError *error)
List User Credential profiles.
struct GDCredentialsProfile * profile
Profile that has changed state.
Definition: GDCredentialsProfile.h:256
User Credential profile event.
Definition: GDCredentialsProfile.h:249
@ GDCredentialsProfileTypeUserCertificate
User Certificate profile.
Definition: GDCredentialsProfile.h:215
@ GDCredentialsProfileTypeEntrust
Entrust User Credential profile.
Definition: GDCredentialsProfile.h:223
void(* GDCredentialsProfileEventCb)(const struct GDCredentialsProfileEvent event, void *appData)
Type for User Credential profile callback implementation.
Definition: GDCredentialsProfile.h:287
bool GDCredentialsProfile_can_reset_type(GDCredentialsProfileType type)
Determine whether a User Credential profile of a specific type can be reset.
bool required
Required flag.
Definition: GDCredentialsProfile.h:171
Error structure.
Definition: GDCommon.h:114
@ GDCredentialsProfileStateImportDue
Setup of credentials is required.
Definition: GDCredentialsProfile.h:49
void GDCredentialsProfile_register_type(GDCredentialsProfileType type, GDCredentialsProfileEventCb cb, void *appData)
Register User Credential profile.
@ GDCredentialsProfileStateDeleted
Profile removed.
Definition: GDCredentialsProfile.h:108
@ GDCredentialsProfileTypeAppbased
App-based User Credential profile.
Definition: GDCredentialsProfile.h:200
bool GDCredentialsProfile_is_type_registered(GDCredentialsProfileType type)
Check if registered for a User Credential profile type.
@ GDCredentialsProfileStateImported
All credentials have been setup.
Definition: GDCredentialsProfile.h:70
@ GDCredentialsProfileStateModified
The profile has been modified since credentials were setup.
Definition: GDCredentialsProfile.h:79
char * type
Profile type (reserved for future use).
Definition: GDCredentialsProfile.h:158
void GDCredentialsProfile_begin_enrolment_type(GDCredentialsProfileType type)
Begin enrolment for all User Credential profiles of the same type.
void GDCredentialsProfile_unregister_type(GDCredentialsProfileType type)
Unregister from notification of User Credential profile state changes.