Class SecurityInfo
Definition
- Namespace:
- Tizen.Applications.Cion
- Assembly:
- Tizen.Applications.Cion.dll
A class to represent security info.
public class SecurityInfo : IDisposable
- Inheritance
-
objectSecurityInfo
- Implements
-
System.IDisposable
Constructors
View SourceSecurityInfo()
The constructor of SecurityInfo class.
Declaration
public SecurityInfo()
Exceptions
Type | Condition |
---|---|
System.OutOfMemoryException | Thrown when there is not enough memory to continue the execution of the method. |
Properties
View SourceCaPath
Gets the CA cert path.
Declaration
public 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. |
CertPath
Gets the cert path.
Declaration
public 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. |
PrivateKeyPath
Gets the private key path.
Declaration
public 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
View SourceDispose()
Releases all resources used by the SecurityInfo class.
Declaration
public void Dispose()
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |