Class SecurityInfo

    Definition

    Namespace:
    Tizen.Applications.Cion
    Assembly:
    Tizen.Applications.Cion.dll

    A class to represent security info.

    public class SecurityInfo : IDisposable
    Inheritance
    object
    SecurityInfo
    Implements
    System.IDisposable

    Constructors

    View Source

    SecurityInfo()

    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 Source

    CaPath

    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.

    View Source

    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.

    View Source

    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 Source

    Dispose()

    Releases all resources used by the SecurityInfo class.

    Declaration
    public void Dispose()
    View Source

    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.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX