Class SecurityInfo

Definition

Namespace:
Tizen.Applications.Cion
Assembly:
Tizen.Applications.Cion.dll
API Level:
9

A class to represent security info.

C#
Copy
public class SecurityInfo : IDisposable
Inheritance
System.Object
SecurityInfo
Implements
System.IDisposable

Constructors

View Source

SecurityInfo()

The constructor of SecurityInfo class.

Declaration
C#
Copy
public SecurityInfo()
Exceptions
Type Condition
OutOfMemoryException

Thrown when there is not enough memory to continue the execution of the method.

API Level: 9

Properties

View Source

CaPath

Gets the CA cert path.

Declaration
C#
Copy
public string CaPath { get; set; }
Property Value
Type Description
System.String
Remarks

http://tizen.org/privilege/mediastorage is needed if the file path is relevant to media storage. http://tizen.org/privilege/externalstorage is needed if the file path is relevant to external storage.

Exceptions
Type Condition
System.ArgumentException

Thrown when the CA path is invalid.

UnauthorizedAccessException

Thrown when an application does not have the privilege to access this method.

API Level: 9
View Source

CertPath

Gets the cert path.

Declaration
C#
Copy
public string CertPath { get; set; }
Property Value
Type Description
System.String
Remarks

http://tizen.org/privilege/mediastorage is needed if the file path is relevant to media storage. http://tizen.org/privilege/externalstorage is needed if the file path is relevant to external storage.

Exceptions
Type Condition
System.ArgumentException

Thrown when the cert path is invalid.

UnauthorizedAccessException

Thrown when an application does not have the privilege to access this method.

API Level: 9
View Source

PrivateKeyPath

Gets the private key path.

Declaration
C#
Copy
public string PrivateKeyPath { get; set; }
Property Value
Type Description
System.String
Remarks

http://tizen.org/privilege/mediastorage is needed if the file path is relevant to media storage. http://tizen.org/privilege/externalstorage is needed if the file path is relevant to external storage.

Exceptions
Type Condition
System.ArgumentException

Thrown when the private key path is invalid.

UnauthorizedAccessException

Thrown when an application does not have the privilege to access this method.

API Level: 9

Methods

View Source

Dispose()

Releases all resources used by the SecurityInfo class.

Declaration
C#
Copy
public void Dispose()
API Level: 9
View Source

Dispose(Boolean)

Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

If true, disposes any disposable objects. If false, does not dispose disposable objects.

API Level: 9

Implements

System.IDisposable