Gcr.SimpleCertificate¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Gcr.SimpleCertificate(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An implementation of [iface`Certificate`] which loads a certificate from DER data already located in memory.
To create an object, use the [ctor`SimpleCertificate`.new] or [ctor`SimpleCertificate`.new_static] functions.
- classmethod new(data)[source]¶
- Parameters:
data (
bytes
) – the raw DER certificate data- Returns:
a new
Gcr.SimpleCertificate
- Return type:
Create a new
Gcr.SimpleCertificate
for the raw DER data. The data memory is copied so you can dispose of it after this function returns.