Class SecurityInfo
Definition
- Namespace:
- Tizen.Applications.Cion
- Assembly:
- Tizen.Applications.Cion.dll
A class to represent security info.
C#Copypublic class SecurityInfo : IDisposable
- Inheritance
-
objectSecurityInfo
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic SecurityInfo()
Exceptions
Type | Condition |
---|---|
System.OutOfMemoryException | Thrown when there is not enough memory to continue the execution of the method. |
Properties
Declaration
C#Copypublic string CaPath { get; set; }
Property Value
Type | Description |
---|---|
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. |
System.UnauthorizedAccessException | Thrown when an application does not have the privilege to access this method. |
Declaration
C#Copypublic string CertPath { get; set; }
Property Value
Type | Description |
---|---|
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. |
System.UnauthorizedAccessException | Thrown when an application does not have the privilege to access this method. |
Declaration
C#Copypublic string PrivateKeyPath { get; set; }
Property Value
Type | Description |
---|---|
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. |
System.UnauthorizedAccessException | Thrown when an application does not have the privilege to access this method. |
Methods
Declaration
C#Copypublic void Dispose()
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |