CLAS CL_ABAP_MESSAGE_DIGEST

Source Link
Open in ADT

Home
Previous Object: CL_ABAP_MEMORY_X_READER
Next Object: CL_ABAP_OBJECTDESCR

Public
Method constructor
  IMPORTING
    if_algorithm TYPE STRING
  RAISING cx_abap_message_digest
Static Method get_instance
  IMPORTING
    if_algorithm TYPE STRING Optional
  RETURNING ro_object TYPE cl_abap_message_digest
  RAISING cx_abap_message_digest
Method get_algorithm
  RETURNING rf_algorithm TYPE STRING
Method get_digest_length
  RETURNING ri_length TYPE I
  RAISING cx_abap_message_digest
Method get_digest
  RETURNING er_hash 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 digest
  IMPORTING
    if_data TYPE XSTRING Optional
    if_offset TYPE I Optional
    if_length TYPE I Optional
  EXPORTING
    ef_hashstring TYPE STRING
    ef_hashxstring TYPE XSTRING
    ef_hashb64string TYPE STRING
    ef_hashx TYPE xsequence
  RAISING cx_abap_message_digest
Method reset
  RAISING cx_abap_message_digest
Method to_string
  RETURNING er_hashstring TYPE STRING
  RAISING cx_abap_message_digest
Method to_base64
  RETURNING er_hashb64string TYPE STRING
  RAISING cx_abap_message_digest
Static Method is_equal
  IMPORTING
    if_digesta TYPE XSTRING
    if_digestb TYPE XSTRING
  RETURNING er_equal TYPE ABAP_BOOL
Static Method calculate_hash_for_char
  IMPORTING
    if_algorithm TYPE STRING Optional
    if_data TYPE STRING
    if_length TYPE I Optional
  EXPORTING
    ef_hashstring TYPE STRING
    ef_hashxstring TYPE XSTRING
    ef_hashb64string TYPE STRING
    ef_hashx TYPE xsequence
  RAISING cx_abap_message_digest
Static Method calculate_hash_for_raw
  IMPORTING
    if_algorithm TYPE STRING Optional
    if_data TYPE XSTRING
    if_length TYPE I Optional
  EXPORTING
    ef_hashstring TYPE STRING
    ef_hashxstring TYPE XSTRING
    ef_hashb64string TYPE STRING
    ef_hashx TYPE xsequence
  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