LibreOffice Module svl (master) 1
Classes | Enumerations | Functions
svl::crypto Namespace Reference

Classes

class  Signing
 Helper to cryptographically sign and verify arbitrary data blocks. More...
 

Enumerations

enum class  SignatureMethodAlgorithm {
  RSA ,
  ECDSA
}
 Specifies the algorithm used for signature generation and validation. More...
 

Functions

static int AsHex (char ch)
 
std::vector< unsigned char > DecodeHexString (std::string_view rHex)
 Converts a hex-encoded string into a byte array. More...
 

Enumeration Type Documentation

◆ SignatureMethodAlgorithm

Specifies the algorithm used for signature generation and validation.

Enumerator
RSA 
ECDSA 

Definition at line 77 of file sigstruct.hxx.

Function Documentation

◆ AsHex()

static int svl::crypto::AsHex ( char  ch)
static

Definition at line 894 of file cryptosign.cxx.

References ch.

Referenced by DecodeHexString().

◆ DecodeHexString()

SVL_DLLPUBLIC std::vector< unsigned char > svl::crypto::DecodeHexString ( std::string_view  rHex)

Converts a hex-encoded string into a byte array.

Definition at line 912 of file cryptosign.cxx.

References AsHex(), i, nCount, and SAL_WARN.