LibreOffice Module comphelper (master) 1
Static Public Member Functions | List of all members
comphelper::Base64 Class Reference

#include <base64.hxx>

Static Public Member Functions

static void encode (OUStringBuffer &aStrBuffer, const css::uno::Sequence< sal_Int8 > &aPass)
 encodes the given byte sequence into Base64 More...
 
static void encode (OStringBuffer &aStrBuffer, const css::uno::Sequence< sal_Int8 > &aPass)
 
static void decode (css::uno::Sequence< sal_Int8 > &aPass, std::u16string_view sBuffer)
 
static std::size_t decodeSomeChars (css::uno::Sequence< sal_Int8 > &aPass, std::u16string_view sBuffer)
 

Detailed Description

Definition at line 40 of file base64.hxx.

Member Function Documentation

◆ decode()

void comphelper::Base64::decode ( css::uno::Sequence< sal_Int8 > &  aPass,
std::u16string_view  sBuffer 
)
static

Definition at line 136 of file base64.cxx.

References aBuffer, and decodeSomeChars().

Referenced by comphelper::DocPasswordHelper::GetOoxHashAsSequence().

◆ decodeSomeChars()

std::size_t comphelper::Base64::decodeSomeChars ( css::uno::Sequence< sal_Int8 > &  aPass,
std::u16string_view  sBuffer 
)
static

Definition at line 142 of file base64.cxx.

References comphelper::aBase64DecodeTable, and o3tl::make_unsigned().

Referenced by decode().

◆ encode() [1/2]

static void comphelper::Base64::encode ( OStringBuffer &  aStrBuffer,
const css::uno::Sequence< sal_Int8 > &  aPass 
)
static

◆ encode() [2/2]

static void comphelper::Base64::encode ( OUStringBuffer &  aStrBuffer,
const css::uno::Sequence< sal_Int8 > &  aPass 
)
static

The documentation for this class was generated from the following files: