Class Certificate

Definition

Namespace:
Tizen.Security.SecureRepository
Assembly:
Tizen.Security.SecureRepository.dll
API Level:
3

The class that represents a certificate.

C#
Copy
public class Certificate : object
Inheritance
Certificate

Constructors

View Source

Certificate(Byte[], DataFormat)

A constructor of Certificate that takes the binary and its format.

Declaration
C#
Copy
public Certificate(byte[] binary, DataFormat format)
Parameters
Type Name Description
Byte[] binary

The binary data of a certificate.

DataFormat format

The format of the binary data.

API Level: 3

Properties

View Source

Binary

The binary value of a certificate.

Declaration
C#
Copy
public byte[] Binary { get; set; }
Property Value
Type Description
Byte[]
API Level: 3
View Source

Format

The format of the binary value.

Declaration
C#
Copy
public DataFormat Format { get; set; }
Property Value
Type Description
DataFormat
API Level: 3

Methods

View Source

Load(String)

Loads Certificate from the given file path.

Declaration
C#
Copy
public static Certificate Load(string filePath)
Parameters
Type Name Description
String filePath

The path of certificate file to be loaded.

Returns
Type Description
Certificate

Loaded certificate class instance.

API Level: 3

Extension Methods