Class Certificate
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
- API Level:
- 3
The class that represents a certificate.
C#Copypublic class Certificate
- Inheritance
-
System.ObjectCertificate
Constructors
View Source
Certificate(Byte[], DataFormat)
A constructor of Certificate that takes the binary and its format.
Declaration
C#Copypublic Certificate(byte[] binary, DataFormat format)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binary | The binary data of a certificate. |
DataFormat | format | The format of the binary data. |
API Level: 3
Properties
Declaration
C#Copypublic byte[] Binary { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
API Level: 3
Declaration
C#Copypublic DataFormat Format { get; set; }
Property Value
Type | Description |
---|---|
DataFormat |
API Level: 3
Methods
Declaration
C#Copypublic static Certificate Load(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of certificate file to be loaded. |
Returns
Type | Description |
---|---|
Certificate | Loaded certificate class instance. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The filePath should not be null |
System.InvalidOperationException | Invalid certificate file format. Provided file path does not exist or cannot be accessed. |