SAP CL_ABAP_X509_CERTIFICATE OO Class - Elements of an X.509 Certificate
CL_ABAP_X509_CERTIFICATE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_X509_CERTIFICATE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_ABAP_X509_CERTIFICATE SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
CERTENTRY_TO_DN | Generate a Distinguished Name from TT_CERTENTRY | Public |
CALL METHOD cl_abap_x509_certificate=>CERTENTRY_TO_DN...more details | ||
CHECK_VALIDITY | Checks the validity of the certificate | Public |
CALL METHOD cl_abap_x509_certificate=>CHECK_VALIDITY...more details | ||
CONSTRUCTOR | CONSTRUCTOR | Public |
CALL METHOD cl_abap_x509_certificate=>CONSTRUCTOR...more details | ||
CONVERT_DN | Converts a Distinguished Name into a different format | Public |
CALL METHOD cl_abap_x509_certificate=>CONVERT_DN...more details | ||
DELETE_OBJECT | Releases the internal certificate object | Private |
CALL METHOD cl_abap_x509_certificate=>DELETE_OBJECT...more details | ||
DESTRUCTOR | C Destructor | Public |
CALL METHOD cl_abap_x509_certificate=>DESTRUCTOR...more details | ||
| ||
DN_TO_CERTENTRY | Generate TT_CERTENTRY from a Distinguished Name | Public |
CALL METHOD cl_abap_x509_certificate=>DN_TO_CERTENTRY...more details | ||
EVALUATE_SYSRC | Evaluates the return value from the kernel | Private |
CALL METHOD cl_abap_x509_certificate=>EVALUATE_SYSRC...more details | ||
FREE_INSTANCE | Releases generated certificate instance before DESTRUCTOR | Public |
CALL METHOD cl_abap_x509_certificate=>FREE_INSTANCE...more details | ||
GET_ATTRIBUTE | Gets individual parameters from SsfParseCertificate | Private |
CALL METHOD cl_abap_x509_certificate=>GET_ATTRIBUTE...more details | ||
GET_CERTENTRY | Generic determination of a certificate DN | Public |
CALL METHOD cl_abap_x509_certificate=>GET_CERTENTRY...more details | ||
GET_CERTENTRY_VALUE | Generic determination of a value in certificate DN | Public |
CALL METHOD cl_abap_x509_certificate=>GET_CERTENTRY_VALUE...more details | ||
GET_CERTIFICATE | Returns the DER-encoded certificate | Public |
CALL METHOD cl_abap_x509_certificate=>GET_CERTIFICATE...more details | ||
GET_CERT_FINGERPRINT | Gets the certificate fingerprint | Private |
CALL METHOD cl_abap_x509_certificate=>GET_CERT_FINGERPRINT...more details | ||
GET_DISTRIBUTION_POINTS | Private | |
CALL METHOD cl_abap_x509_certificate=>GET_DISTRIBUTION_POINTS...more details | ||
GET_FINGER_PRINT | Gets the fingerprint of the certificate | Public |
CALL METHOD cl_abap_x509_certificate=>GET_FINGER_PRINT...more details | ||
GET_GENERALIZED_TIME | Converts string to time | Private |
CALL METHOD cl_abap_x509_certificate=>GET_GENERALIZED_TIME...more details | ||
GET_INSTANCE | Generates instance of object based on X.509 certificate | Public |
CALL METHOD cl_abap_x509_certificate=>GET_INSTANCE...more details | ||
GET_INSTANCE_FROM_PROFILE | Generates instance of object based on PSE profile | Public |
CALL METHOD cl_abap_x509_certificate=>GET_INSTANCE_FROM_PROFILE...more details | ||
GET_INSTANCE_FROM_STRUST | Generates instance of object based on STRUST | Public |
CALL METHOD cl_abap_x509_certificate=>GET_INSTANCE_FROM_STRUST...more details | ||
GET_ISSUER_DN | Gets the issuer as DN | Public |
CALL METHOD cl_abap_x509_certificate=>GET_ISSUER_DN...more details | ||
GET_ISSUER_SERIAL | Gets issuer and serial with hash values | Public |
CALL METHOD cl_abap_x509_certificate=>GET_ISSUER_SERIAL...more details | ||
GET_ISSUER_STRING | Returns issuer as string | Public |
CALL METHOD cl_abap_x509_certificate=>GET_ISSUER_STRING...more details | ||
GET_KEY_ALG_NAME | Returns the algorithm name of the signature algorithm | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_ALG_NAME...more details | ||
GET_KEY_ALG_OID | Returns algorithm ID of signature algorithm | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_ALG_OID...more details | ||
GET_KEY_LENGTH | Returns the key length of the signature algorithm | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_LENGTH...more details | ||
GET_KEY_STRENGTH | Returns the key strength | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_STRENGTH...more details | ||
GET_KEY_USAGE | Gets v3 extension key usage | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_USAGE...more details | ||
GET_KEY_VALUE | Returns the key value | Public |
CALL METHOD cl_abap_x509_certificate=>GET_KEY_VALUE...more details | ||
GET_PK_FINGER_PRINT | Gets the fingerprint of the certificate | Public |
CALL METHOD cl_abap_x509_certificate=>GET_PK_FINGER_PRINT...more details | ||
GET_SERIAL_HEX | Returns the serial number (hexadecimal format) | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SERIAL_HEX...more details | ||
GET_SERIAL_INT | Returns the serial number (integer format) | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SERIAL_INT...more details | ||
GET_SERIAL_NUMBER | Returns the serial number (integer format) | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SERIAL_NUMBER...more details | ||
GET_SIGNATURE_ALG_OID | Gets signature algorithm | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SIGNATURE_ALG_OID...more details | ||
GET_SIG_ALG | Gets algorithm of the signature (text representation) | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SIG_ALG...more details | ||
GET_SSF_PARAMETER | Gets individual parameters from SsfParseCertificate | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SSF_PARAMETER...more details | ||
GET_SUBJECT_ALT_DN | Returns the DN of the subject alternative name | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_ALT_DN...more details | ||
GET_SUBJECT_ALT_STRING | Returns the subject alternative name as a string | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_ALT_STRING...more details | ||
GET_SUBJECT_DN | Gets the subject as a DN | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_DN...more details | ||
GET_SUBJECT_ISSUER | Gets the subject and issuer with hash values | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_ISSUER...more details | ||
GET_SUBJECT_ISSUER_SERIAL | Gets subject, issuer, and serial with hash values | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_ISSUER_SERIAL...more details | ||
GET_SUBJECT_KEY_ID | Gets the subject key | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_KEY_ID...more details | ||
GET_SUBJECT_STRING | Returns the subject name as a string | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUBJECT_STRING...more details | ||
GET_SUMMARY | Gets an overview of the most important attributes | Public |
CALL METHOD cl_abap_x509_certificate=>GET_SUMMARY...more details | ||
GET_TIME_INTERNAL | Gets time | Private |
CALL METHOD cl_abap_x509_certificate=>GET_TIME_INTERNAL...more details | ||
GET_VALID_FROM | Returns end date | Public |
CALL METHOD cl_abap_x509_certificate=>GET_VALID_FROM...more details | ||
GET_VALID_TO | Returns start date | Public |
CALL METHOD cl_abap_x509_certificate=>GET_VALID_TO...more details | ||
GET_VERSION | Gets the version as a number (1,2,3) | Public |
CALL METHOD cl_abap_x509_certificate=>GET_VERSION...more details | ||
IS_SIGNATURE_AVAILABLE | Determines whether signature is available | Public |
CALL METHOD cl_abap_x509_certificate=>IS_SIGNATURE_AVAILABLE...more details | ||
NAME_TO_OID | Translate an OID name into its binary value | Public |
CALL METHOD cl_abap_x509_certificate=>NAME_TO_OID...more details | ||
OID_OR_NAME_TO_CERT_ATTRIBUTE | Translate an OID or a name into the DDIC type CERT_ATTRIBUTE | Public |
CALL METHOD cl_abap_x509_certificate=>OID_OR_NAME_TO_CERT_ATTRIBUTE...more details | ||
OID_TO_NAME | Translate a binary OID into its Name | Public |
CALL METHOD cl_abap_x509_certificate=>OID_TO_NAME...more details | ||
STATIC_GET_SSF_PARAMETER | Gets individual parameters from SsfParseCertificate | Public |
CALL METHOD cl_abap_x509_certificate=>STATIC_GET_SSF_PARAMETER...more details | ||
STATIC_PARSE_CERTIFICATE | Gets individual parameters from SsfParseCertificate | Public |
CALL METHOD cl_abap_x509_certificate=>STATIC_PARSE_CERTIFICATE...more details | ||
STATIC_PARSE_TIME | Private | |
CALL METHOD cl_abap_x509_certificate=>STATIC_PARSE_TIME...more details | ||
STATIC_UNICODE_ESCAPE | Converts Unicode characters to a compatible escape format | Public |
CALL METHOD cl_abap_x509_certificate=>STATIC_UNICODE_ESCAPE...more details | ||
TO_STRING | Certificate content as a readable string | Public |
CALL METHOD cl_abap_x509_certificate=>TO_STRING...more details |
CL_ABAP_X509_CERTIFICATE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
CERTENTRY | Instance Attribute | CertEntry Structure | LIKE TT_CERTENTRY | Public | |
CERTENTRY_LIST | Instance Attribute | CertEntry Structure | LIKE | Public | |
CO_AB_GET_DN2ENTRY | Constant | Converts DN to CertEntry | 104 | LIKE X | Private |
CO_AB_GET_ENTRY2DN | Constant | Converts CertEntry to DN | 105 | LIKE X | Private |
CO_AB_GET_GETENTRY | Constant | Gets CertEntry | 103 | LIKE X | Private |
CO_AB_GET_NAME2OID | Constant | Convert Name to OID | 107 | LIKE X | Private |
CO_AB_GET_OID2NAME | Constant | Convert OID to Name | 106 | LIKE X | Private |
CO_AB_GET_USERINFO | Constant | Gets information | 102 | LIKE X | Private |
CO_AB_OPCODE_CLASS | Constant | Operation Code | 45 | LIKE X | Private |
CO_AB_OPCODE_CRL_POINTS | Constant | CRL Point | 50 | LIKE X | Private |
CO_AB_STATE_ASN1 | Constant | ASN.1 Status | 08 | LIKE X | Private |
CO_AB_STATE_DELETE | Constant | Delete Status | 16 | LIKE X | Private |
CO_AB_STATE_INIT | Constant | Initial status | 02 | LIKE X | Private |
CO_AB_STATE_PARSE | Constant | Parse Status | 04 | LIKE X | Private |
CO_AB_STATE_SHA1 | Constant | SHA-1 Status | 64 | LIKE X | Private |
CO_AB_STATE_UESCAPE | Constant | UC Escape Status | 32 | LIKE X | Private |
CO_ENTRY_ISSUER | Constant | Issuer | 0 | LIKE I | Public |
CO_ENTRY_SUBJECT | Constant | Owner | 1 | LIKE I | Public |
CO_ENTRY_SUBJECTALT | Constant | Issuer Alternative Name | 2 | LIKE I | Public |
CO_FORMAT_INTERN | Constant | Internal or Original Format | -1 | LIKE I | Public |
CO_FORMAT_LDAP | Constant | Unicode LDAP format | 1 | LIKE I | Public |
CO_FORMAT_SECUDE_COMPAT | Constant | Secude-compatible format | 2 | LIKE I | Public |
CO_FORMAT_SECUDE_LEGACY | Constant | Secude legacy format Used in USREXTID | -2 | LIKE I | Public |
CO_FORMAT_UNICODE | Constant | Unicode-compatible format | 0 | LIKE I | Public |
CO_IS_REQUESTED | Constant | Return | '?' | LIKE STRING | Private |
CO_OID_C | Constant | C OID | '550406' | LIKE XSTRING | Public |
CO_OID_CN | Constant | CN OID | '550403' | LIKE XSTRING | Public |
CO_OID_EMAIL | Constant | EMail OID | '2A864886F70D010901' | LIKE XSTRING | Public |
CO_OID_O | Constant | O OID | '55040A' | LIKE XSTRING | Public |
CO_OID_OU | Constant | OU OID | '55040B' | LIKE XSTRING | Public |
CO_OID_RFC822NAME | Constant | RFC822 OID | '551D1101' | LIKE XSTRING | Public |
CO_OID_UID | Constant | UID OID | '0992268993F22C640101' | LIKE XSTRING | Public |
CO_PARAMPATTERN | Constant | Parameter Template | 'PROP' | LIKE STRING | Private |
CO_SSFP_ALGID | Constant | ALGID | 'ALGID' | LIKE STRING | Public |
CO_SSFP_ALL | Constant | ALL | 'ALL' | LIKE STRING | Public |
CO_SSFP_FINGERPRINT | Constant | FINGERPRINT | 'FINGERPRINT' | LIKE STRING | Public |
CO_SSFP_ISSUER | Constant | ISSUER | 'ISSUER' | LIKE STRING | Public |
CO_SSFP_KEYLENGTH | Constant | KEYLENGTH | 'KEYLENGTH' | LIKE STRING | Public |
CO_SSFP_KEYSTRENGTH | Constant | KEYSTRENGTH | 'KEYSTRENGTH' | LIKE STRING | Public |
CO_SSFP_KEYTYPE | Constant | KEYTYPE | 'KEYTYPE' | LIKE STRING | Public |
CO_SSFP_KEYUSAGE | Constant | KEYUSAGE | 'KEYUSAGE' | LIKE STRING | Public |
CO_SSFP_KEYVALUE | Constant | KEYVALUE | 'KEYVALUE' | LIKE STRING | Public |
CO_SSFP_PKFINGERPRINT | Constant | PKFINGERPRINT | 'PKFINGERPRINT' | LIKE STRING | Public |
CO_SSFP_SERIAL | Constant | SERIALNO | 'SERIAL' | LIKE STRING | Public |
CO_SSFP_SERIALINT | Constant | SERIALNO | 'SERIALINT' | LIKE STRING | Public |
CO_SSFP_SERIALNO | Constant | SERIALNO | 'SERIALNO' | LIKE STRING | Public |
CO_SSFP_SIGALG | Constant | SIGALG | 'SIGALG' | LIKE STRING | Public |
CO_SSFP_SIGALGID | Constant | SIGALGID | 'SIGALGID' | LIKE STRING | Public |
CO_SSFP_SIGAVAILABLE | Constant | SIGAVAILABLE | 'SIGAVAILABLE' | LIKE STRING | Public |
CO_SSFP_SUBJECT | Constant | SUBJECT | 'SUBJECT' | LIKE STRING | Public |
CO_SSFP_SUBJECTKEYID | Constant | SUBJECTKEYID | 'SUBJECTKEYID' | LIKE STRING | Public |
CO_SSFP_SUBJECTKEYIDXML | Constant | SUBJECTKEYIDXML | 'SUBJECTKEYIDXML' | LIKE STRING | Public |
CO_SSFP_SUMMARY | Constant | SUMMARY | 'SUMMARY' | LIKE STRING | Public |
CO_SSFP_VALIDFROM | Constant | VALIDFROM | 'VALIDFROM' | LIKE STRING | Public |
CO_SSFP_VALIDTO | Constant | VALIDTO | 'VALIDTO' | LIKE STRING | Public |
CO_SSFP_VERSION | Constant | VERSION | 'VERSION' | LIKE STRING | Public |
CO_TIMEZONE | Constant | TIMEZONE | 'UTC' | LIKE TTZZ-TZONE | Private |
CO_USE_CDESTRUCTOR | Constant | C Destructor | 'X' | LIKE C | Private |
CO_VALUEPATTERN | Constant | Value Pattern | 'VAL' | LIKE STRING | Private |
M_ASN1CERT | Instance Attribute | ASN.1 Certificate | LIKE XSTRING | Private | |
M_CRC | Instance Attribute | CRC32 | 0 | LIKE I | Private |
M_POINTER | Instance Attribute | Internal Information | LIKE %_C_POINTER | Private | |
M_RC | Instance Attribute | SYSUBRC | 0 | LIKE I | Private |
M_VALIDFROM | Instance Attribute | Valid From | LIKE STRING | Private | |
M_VALIDTO | Instance Attribute | Valid to | LIKE STRING | Private |
CL_ABAP_X509_CERTIFICATE types
TS_DISTRIBUTION_POINT -TS_DPOINT_LOCATION -
TS_KEYUSAGE -
TT_CERTENTRY - Table type of a DN
TT_DISTRIBUTION_POINTS -
TT_DPOINT_LOCATION -
T_CERTENTRY - Structure of a Distinguished Name in certificate
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