# VSSLSessionCipher

Esta clase representa la sesión en curso de la conexión segura con el servidor y permite obtener información sobre el estado de la conexión y su configuración.

La clase [VSSLInfo ](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslinfo.md)nos permite tener acceso a esta información.

{% hint style="danger" %}
Esta clase no es funcional en [Velneo Web](/velneo-vclient-web.md).
{% endhint %}

## Indice de funciones

### **Generales**

String [authenticationMethod](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#authenticationmethod)()

String [encryptionMethod](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#encryptionmethod)()

Boolean [isNull](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#isnull)()

String [keyExchangeMethod](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#keyexchangemethod)()

String [name](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#name)()

String [protocolString](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#protocolstring)()

Number [supportedBits](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#supportedbits)()

Number [usedBits](/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md#usedbits)()

## Documentación de funciones

### Funciones generales

#### String authenticationMethod() <a href="#authenticationmethod" id="authenticationmethod"></a>

Devuelve el método de autenticación usado.

#### String encryptionMethod() <a href="#encryptionmethod" id="encryptionmethod"></a>

Devuelve el método de encriptación usado.

#### Boolean isNull() <a href="#isnull" id="isnull"></a>

Devuelve true si se ha establecido una conexión segura TLS/SSL, false si la conexión no está asegurada según este estándar.

#### String keyExchangeMethod() <a href="#keyexchangemethod" id="keyexchangemethod"></a>

Devuelve el método de intercambio de clave.

#### String name() <a href="#name" id="name"></a>

Retorna el nombre del cifrado utilizado.

#### String protocolString() <a href="#protocolstring" id="protocolstring"></a>

Devuelve el protocolo utilizado.

#### Number supportedBits() <a href="#supportedbits" id="supportedbits"></a>

Devuelve el número de bits soportado por el encriptado.

#### Number usedBits() <a href="#usedbits" id="usedbits"></a>

Devuelve el número de bits usado en la encriptación.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.velneo.com/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsslsessioncipher.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
