GET_CERTENTRY_VALUE SAP Method Generic determination of a value in certificate DN









Below is documentation, parameters and attributes of ABAP Method GET_CERTENTRY_VALUE within SAP class CL_ABAP_X509_CERTIFICATE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ABAP_X509_CERTIFICATE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_CERTENTRY_VALUE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_CERTENTRY_VALUE

.

NameTypeData TypeDescriptionDefault Value
IF_CERT_ENTRYImportingTYPE
I
ID for the entry; refer to constants co_entry_xx
IF_CONVFLAGSImportingTYPE
I
Conversion options
IF_ENTRY_NUMBERImportingTYPE
I
0: Entry must be unique, otherwise index of entry
IF_FORMATImportingTYPE
I
Format for output
IF_OID_FILTERImportingTYPE
STRING
String of OID that contains the value of the return
IF_XOID_FILTERImportingTYPE
XSTRING
Binary value of OID that contains the value of the return
RF_VALUEReturningTYPE
STRING
Value from DN



Exceptions of Method GET_CERTENTRY_VALUE

CX_ABAP_X509_CERTIFICATE -

Example ABAP coding


DATA: lo_class TYPE REF TO CL_ABAP_X509_CERTIFICATE.
DATA: lv_IF_CERT_ENTRY TYPE I,
lv_IF_CONVFLAGS TYPE I,
lv_IF_ENTRY_NUMBER TYPE I,
lv_IF_FORMAT TYPE I,
lv_IF_OID_FILTER TYPE STRING,
lv_IF_XOID_FILTER TYPE XSTRING,
lv_RF_VALUE TYPE STRING,
lv_other TYPE c.

CALL METHOD lo_class=>GET_CERTENTRY_VALUE(
EXPORTING
IF_CERT_ENTRY = lv_IF_CERT_ENTRY
IF_CONVFLAGS = lv_IF_CONVFLAGS
IF_ENTRY_NUMBER = lv_IF_ENTRY_NUMBER
IF_FORMAT = lv_IF_FORMAT
IF_OID_FILTER = lv_IF_OID_FILTER
IF_XOID_FILTER = lv_IF_XOID_FILTER
RECEIVING
RF_VALUE = lv_RF_VALUE )



"Alternate coding for Method Call with returning parameter
lv_RF_VALUE = lo_class=>GET_CERTENTRY_VALUE(
EXPORTING
IF_CERT_ENTRY = lv_IF_CERT_ENTRY
IF_CONVFLAGS = lv_IF_CONVFLAGS
IF_ENTRY_NUMBER = lv_IF_ENTRY_NUMBER
IF_FORMAT = lv_IF_FORMAT
IF_OID_FILTER = lv_IF_OID_FILTER
IF_XOID_FILTER = lv_IF_XOID_FILTER ).

Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!