CLAS CL_ABAP_HMAC

Source Link
Open in ADT

Home
Previous Object: CL_ABAP_GZIP_TEXT_STREAM
Next Object: CL_ABAP_INTFDESCR

Status: RELEASED

Public
Method constructor
  IMPORTING
    if_algorithm TYPE STRING
    if_key TYPE XSTRING
  RAISING cx_abap_message_digest
Static Method get_instance
  IMPORTING
    if_algorithm TYPE STRING Optional
    if_key TYPE XSTRING
  RETURNING ro_object TYPE cl_abap_hmac
  RAISING cx_abap_message_digest
Method get_algorithm
  RETURNING rf_algorithm TYPE STRING
Method get_hmac_length
  RETURNING ri_length TYPE I
  RAISING cx_abap_message_digest
Method get_hmac
  RETURNING er_hmac TYPE XSTRING
  RAISING cx_abap_message_digest
Method init
  IMPORTING
    if_key TYPE XSTRING
  RAISING cx_abap_message_digest
Method update
  IMPORTING
    if_data TYPE XSTRING
    if_offset TYPE I Optional
    if_length TYPE I Optional
  RAISING cx_abap_message_digest
Method final
  IMPORTING
    if_data TYPE XSTRING Optional
    if_offset TYPE I Optional
    if_length TYPE I Optional
  EXPORTING
    ef_hmacstring TYPE STRING
    ef_hmacxstring TYPE XSTRING
    ef_hmacb64string TYPE STRING
  RAISING cx_abap_message_digest
Method reset
  RAISING cx_abap_message_digest
Method to_string
  RETURNING er_hmacstring TYPE STRING
  RAISING cx_abap_message_digest
Method to_base64
  RETURNING er_hmacb64string TYPE STRING
  RAISING cx_abap_message_digest
Static Method is_equal
  IMPORTING
    if_hmaca TYPE XSTRING
    if_hmacb TYPE XSTRING
  RETURNING er_equal TYPE ABAP_BOOL
Static Method calculate_hmac_for_char
  IMPORTING
    if_algorithm TYPE STRING Optional
    if_key TYPE XSTRING
    if_data TYPE STRING
    if_length TYPE I Optional
  EXPORTING
    ef_hmacstring TYPE STRING
    ef_hmacxstring TYPE XSTRING
    ef_hmacb64string TYPE STRING
  RAISING cx_abap_message_digest
Static Method calculate_hmac_for_raw
  IMPORTING
    if_algorithm TYPE STRING Optional
    if_key TYPE XSTRING
    if_data TYPE XSTRING
    if_length TYPE I Optional
  EXPORTING
    ef_hmacstring TYPE STRING
    ef_hmacxstring TYPE XSTRING
    ef_hmacb64string TYPE STRING
  RAISING cx_abap_message_digest
Static Method string_to_xstring
  IMPORTING
    if_input TYPE STRING
  RETURNING er_output TYPE XSTRING
  RAISING cx_abap_message_digest

Exists on:
754true
750true
702true

Bug reports and ideas welcome
Made using abaplint.app