blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal
Public Attributes

GDX509Certificate Struct Reference

X.509 Public Key Certificate. More...

#include <GDCredential.h>

List of all members.

Public Attributes


Detailed Description

This structure is be used to represent X.509 public key certificates in the BlackBerry Dynamics secure store.

A GDCredential structure will contain one or more instances of this structure.

The properties of this class correspond to the standard fields of an X.509 public key certificate.

See also:
RFC 3280 and RFC 5280 on the ietf.org website.
Certificate Credential Import

Member Data Documentation

Users ykawaguchi Works blackberry temp1 msdk runtime platform apple ios build GD framework Headers GDCredential h char* issuer

Null-terminated string containing the value of the X.509 Issuer field of the certificate. The value will be a distinguished name, for example: "C=NO, O=Green AS, OU=Green Certificate Authority, CN=Green TLS CA".

char* subject

Null-terminated string containing the value of the X.509 Subject field of the certificate. The value will be a distinguished name, for example: "C=NO, O=Telenor AS, OU=Support, CN=Barney Rubble".

Null-terminated string containing the value of the X.509 Subject Alternative Name field of the certificate. The value will be a distinguished name, for example: "C=NO, O=Telenor AS, OU=Support, CN=Barney Rubble".

char* serialNumber

Null-terminated string containing the value of the X.509 Serial Number field of the certificate. The value will be in hexadecimal with capital letters and no spaces. For example: "1F2B3C4D5E6F".

char* publicKeyMD5

Null-terminated string containing the MD5 hash of the certificate's public key. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 32 characters. For example: "A6144ABF4B87B7B912BC30A80FEB54B5".

Null-terminated string containing the SHA-1 hash of the certificate's public key. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 40 characters. For example: "CBED42E4E4817F19321D871AF58BA042E3B0FA5B".

Null-terminated string containing the MD5 hash of the certificate itself. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 32 characters. For example: "DDEBD17E31AB4515083593A754F8CF6C".

Null-terminated string containing the SHA-1 hash of the certificate itself. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 40 characters. For example: "114230620A17CBB6F478FF3C3AF5C38A2CACF116".

time_t notBefore

Value of the X.509 Validity: Not Before date and time of the certificate. The value is represented as a time_t timestamp, which is a number of seconds elapsed since 00:00 hours, January 1st, 1970 UTC.

time_t notAfter

Value of the X.509 Validity: Not After date and time of the certificate. The value is represented as a time_t timestamp, which is a number of seconds elapsed since 00:00 hours, January 1st, 1970 UTC.

bool valid

Returns true if the system time falls within the certicates notBefore and notAfter dates and times.

char* keyUsage

Null-terminated string containing the intended key usage attributes of the certificate.

Null-terminated string containing the intended extended key usage attributes of the certificate.

struct GDData x509

Binary DER encoded representation of the X.509 ASN1 certificate data, encapsulated in a GDData structure.


The documentation for this struct was generated from the following file: