Fortinet white logo
Fortinet white logo

Script Reference Guide

b32_dec_str(str)

b32_dec_str(str)

Decodes a Base32 encoded string input and outputs the result in string format. In some cases you need a version to deal with it.

Syntax

b32_dec_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
result = b32_dec_str(input);    --input can be a cert in DER format
}

Supported Version

FortiADC version 5.2.x and later.

b32_dec_str(str)

b32_dec_str(str)

Decodes a Base32 encoded string input and outputs the result in string format. In some cases you need a version to deal with it.

Syntax

b32_dec_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
result = b32_dec_str(input);    --input can be a cert in DER format
}

Supported Version

FortiADC version 5.2.x and later.