![]() |
![]() |
![]() |
Gcr Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct GcrSimpleCertificate; GcrCertificate * gcr_simple_certificate_new (gconstpointer data
,gsize n_data
); GcrCertificate * gcr_simple_certificate_new_static (gconstpointer data
,gsize n_data
);
An implementation of GcrCertificate which loads a certificate from DER data already located in memory.
To create a GcrSimpleCertificate object use the
gcr_simple_certificate_new()
or gcr_simple_certificate_new_static()
functions.
struct GcrSimpleCertificate;
A GcrCertificate which represents a certificate already in memory.
GcrCertificate * gcr_simple_certificate_new (gconstpointer data
,gsize n_data
);
Create a new GcrSimpleCertificate for the raw DER data. The data
memory is
copied so you can dispose of it after this function returns.
|
The raw DER certificate data |
|
The length of data
|
Returns : |
a new GcrSimpleCertificate |
GcrCertificate * gcr_simple_certificate_new_static (gconstpointer data
,gsize n_data
);
Create a new GcrSimpleCertificate for the raw DER data. The data
memory is
not copied and must persist until the GcrSimpleCertificate object is
destroyed.
|
The raw DER certificate data |
|
The length of data
|
Returns : |
a new GcrSimpleCertificate |