PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBSCriptografia

    Classe utilizada para obter serviços e regras de negócio sobre Criptografia.

    Inheritance
    System.Object
    StdBSCriptografia
    Implements
    IStdBSCriptografia
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("40B8C4F9-442A-46E5-943F-CC1BAB1B30AE")]
    [ClassInterface(ClassInterfaceType.None)]
    public class StdBSCriptografia : IStdBSCriptografia

    Methods

    Descripta(String)

    Função que permite desencriptar texto.

    Declaration
    public string Descripta(string Texto)
    Parameters
    Type Name Description
    System.String Texto

    Texto a desencriptar.

    Returns
    Type Description
    System.String

    Descripta(String, Int32)

    Função que permite desencriptar texto.

    Declaration
    public string Descripta(string Texto, int MaxComp)
    Parameters
    Type Name Description
    System.String Texto

    Texto a desencriptar.

    System.Int32 MaxComp

    Comprimento máximo.

    Returns
    Type Description
    System.String

    DescriptaRijndael(String)

    Descodifica uma porção de texto encriptado segundo o algorítmo de Rijndael.

    Declaration
    public string DescriptaRijndael(string strTexto)
    Parameters
    Type Name Description
    System.String strTexto

    Texto a codificar.

    Returns
    Type Description
    System.String

    Encripta(String, Int32)

    Função que permite encriptar texto.

    Declaration
    public string Encripta(string Texto, int MaxComp)
    Parameters
    Type Name Description
    System.String Texto

    Texto a desencriptar.

    System.Int32 MaxComp

    Comprimento máximo.

    Returns
    Type Description
    System.String

    EncriptaRijndael(String)

    Codifica uma porção de texto recorrendo ao algorítmo de Rijndael.

    Declaration
    public string EncriptaRijndael(string strTexto)
    Parameters
    Type Name Description
    System.String strTexto

    Texto a codificar.

    Returns
    Type Description
    System.String

    Finalize()

    Finalizes an instance of the StdBSCriptografia class.

    Declaration
    protected void Finalize()

    Implements

    IStdBSCriptografia