Class SecurityInfo
Definition
- Namespace:
- Tizen.Applications.Cion
- Assembly:
- Tizen.Applications.Cion.dll
- API Level:
- 9
A class to represent security info.
C#Copypublic class SecurityInfo : IDisposable
- Inheritance
-
System.ObjectSecurityInfo
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic SecurityInfo()
Exceptions
Type | Condition |
---|---|
OutOfMemoryException | Thrown when there is not enough memory to continue the execution of the method. |
API Level: 9
Properties
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copypublic void Dispose()
API Level: 9
Dispose(Boolean)
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 |
---|---|---|
Boolean | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |