SAP ABAP Class CL_SEC_SXML_DSIGNATURE (Digital Signatures in XML Objects)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SXML_SEC (Package) Security Tools for Streamed XML Reader / Writer
Properties
Class CL_SEC_SXML_DSIGNATURE  
Short Description Digital Signatures in XML Objects    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SXML_SEC   Security Tools for Streamed XML Reader / Writer 
Created 20080903   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 WSSEC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SEC_SXML_DSIGNATURE has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SEC_SXML_XENCRYPTION 20130802 Encryption in XML Objects
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_C14N_EXCLUSIVE Constant Public Type reference (TYPE) SEC_XML_DSIG_CANONICALIZATION 'EX ' Exclusive C14n 20100407
2 CO_C14N_INCLUSIVE Constant Public Type reference (TYPE) SEC_XML_DSIG_CANONICALIZATION 'IN ' Inclusive C14n 20100407
3 CO_DSIG_METHOD_DSA Constant Public Type reference (TYPE) SEC_XML_DSIG_METHOD 'DSA' DSA 20100604
4 CO_DSIG_METHOD_HMAC Constant Public Type reference (TYPE) SEC_XML_DSIG_METHOD 'HMAC' HMAC 20100604
5 CO_DSIG_METHOD_RSA Constant Public Type reference (TYPE) SEC_XML_DSIG_METHOD 'RSA' RSA 20100604
6 CO_HMAC_TRUNC_LENGTH Instance attribute Private Type reference (TYPE) I 128 Minimum Length of HMAC Truncation 20100604
7 CO_SIGNATURE_NAME Constant Public Type reference (TYPE) STRING WSSEC_CO_SIGNATURE Signature 20091123
8 CO_SIGNATURE_NS Constant Public Type reference (TYPE) STRING WSSEC_CO_DSIG_NS ds:Signature Namespace URI 20091123
9 CO_SIGNATURE_NSPREFIX Constant Public Type reference (TYPE) STRING WSSEC_CO_DSIG_NSPREFIX ds: Signature Namespace Name 20100407
10 CO_SSFA Constant Public Type reference (TYPE) PSECONTEXT 'SSFA' Name SSFA Application 20100407
11 CO_SSF_FORMAT_DSA Constant Public Type reference (TYPE) SSFFORM 'DSA-FLAT' DSA 20100604
12 CO_SSF_FORMAT_DSA_ASN1 Constant Public Type reference (TYPE) SSFFORM 'DSA' DSA in ASN1 20100604
13 CO_SSF_FORMAT_HMAC Constant Public Type reference (TYPE) SSFFORM 'HMAC' HMAC 20100604
14 CO_SSF_FORMAT_PKCS7 Constant Public Type reference (TYPE) SSFFORM 'PKCS7' PKCS7 20100604
15 CO_SSF_FORMAT_RSA Constant Public Type reference (TYPE) SSFFORM 'PKCS1-V1.5' RSA 20100604
16 CO_TRANSFORM_BASE64 Constant Public Type reference (TYPE) SEC_XML_DSIG_TRANSFORM 'B64' Base64 Transformation 20100604
17 CO_TRANSFORM_ENVELOPE Constant Public Type reference (TYPE) SEC_XML_DSIG_TRANSFORM 'ENV' Envelope Signature 20100407
18 CO_TRANSFORM_XPATH Constant Public Type reference (TYPE) SEC_XML_DSIG_TRANSFORM 'XPF' XPath Filtering 20100604
19 CO_TYPE_DETACHED Constant Public Type reference (TYPE) SEC_XML_DSIG_TYPE 'DET' Detached XML Signature 20100604
20 CO_TYPE_ENVELOPED Constant Public Type reference (TYPE) SEC_XML_DSIG_TYPE 'ENV' Eveloped XML Signature 20100604
21 CO_TYPE_ENVELOPING Constant Public Type reference (TYPE) SEC_XML_DSIG_TYPE 'ENG' Enveloping XML Signature 20100604
22 M_BASE64_CONTENT Instance attribute Private Type reference (TYPE) STRING Content in case of Base64 Transformation 20100604
23 M_C14N_OMIT_ANCESTOR_NSP Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED Omit the ancestor context during C14n 20100604
24 M_CANONICALIZATION Instance attribute Public Type reference (TYPE) SEC_XML_DSIG_CANONICALIZATION CO_C14N_EXCLUSIVE C14n Method 20100407
25 M_CRL_PROFILE Instance attribute Public Type reference (TYPE) CR_PROFILE Profile Name 20110714
26 M_DATA_REF Instance attribute Private Type reference (TYPE) ABAP_TRANS_RESBIND_TAB Referenzen 20080903
27 M_DSIG_HASH_ALGORITHM Instance attribute Public Type reference (TYPE) SEC_XML_DSIG_HASH Hash Algorithms for the XML Message Digest 20100604
28 M_DSIG_METHOD Instance attribute Public Type reference (TYPE) SEC_XML_DSIG_METHOD Signature Method 20100407
29 M_ELEMENT_NAME Instance attribute Private Type reference (TYPE) STRING Element name for C14n 20100604
30 M_HMAC_OUTPUT_LENGTH Instance attribute Public Type reference (TYPE) I Field HMACOutputLength 20100604
31 M_NSP_FDS Instance attribute Private Type reference (TYPE) XSTRING 20100407
32 M_NSP_FE Instance attribute Private Type reference (TYPE) XSTRING 20100407
33 M_NSP_FS Instance attribute Private Type reference (TYPE) XSTRING 20100407
34 M_NSP_TDS Instance attribute Private Type reference (TYPE) XSTRING 20100407
35 M_NSP_TE Instance attribute Private Type reference (TYPE) XSTRING 20100407
36 M_NSP_TS Instance attribute Private Type reference (TYPE) XSTRING 20100407
37 M_PSE_CONTEXT Instance attribute Public Type reference (TYPE) PSECONTEXT CO_SSFA Application Context of a PSE 20080908
38 M_PSE_MANDT Instance attribute Public Type reference (TYPE) MANDT Client 20081125
39 M_SEC_READER Instance attribute Public Object reference (TYPE REF TO) CL_SEC_SXML_READER Secure SXML Reader 20080903
40 M_SEC_WRITER Instance attribute Public Object reference (TYPE REF TO) CL_SEC_SXML_WRITER Secure SXML Writer 20080903
41 M_SIGNATURE_ID Instance attribute Public Type reference (TYPE) STRING Id-Value in Signature XML-Node 20100604
42 M_SIGNATURE_NODE Instance attribute Private Type reference (TYPE) XSDANY XML Fragment Signature 20100604
43 M_SIGNATURE_NS_PREFIX Instance attribute Public Type reference (TYPE) STRING CO_SIGNATURE_NSPREFIX NameSpace Name of Signature 20100407
44 M_SIGNATURE_REF Instance attribute Private Object reference (TYPE REF TO) XSDANY XML-Fragment Referenz 20080923
45 M_SIGNATURE_REFERENCE_URI Instance attribute Public Type reference (TYPE) STRING Reference URI in Signature XML-Node 20100604
46 M_SIGNATURE_TRANSFORMATION Instance attribute Public Type reference (TYPE) SEC_XML_DSIG_TRANSFORM CO_TRANSFORM_ENVELOPE Transformation of Digital XML Signatures 20080908
47 M_SIGNATURE_TYPE Instance attribute Public Type reference (TYPE) SEC_XML_DSIG_TYPE CO_TYPE_ENVELOPED Type of the XML Signature 20100604
48 M_SIGNER_CERTIFICATE Instance attribute Private Type reference (TYPE) XSTRING Signaturzertifikat 20100407
49 M_SIGN_ATTRIBUTE Instance attribute Public Type reference (TYPE) STRING 20130107
50 M_SIGN_ELEMENT Instance attribute Public Type reference (TYPE) STRING 20130107
51 M_SIGN_NAMESPACE Instance attribute Public Type reference (TYPE) STRING 20130107
52 M_SSF_HASH_ALGORITHM Instance attribute Public Type reference (TYPE) SSFHASH SSF Hash Algorithm 20080923
53 M_SSF_METHOD Instance attribute Public Type reference (TYPE) SSFFORM Standard Method Within a Digital XML Signature 20080916
54 M_SXML_READER Instance attribute Public Object reference (TYPE REF TO) CL_SXML_STRING_READER SXML Reader 20080903
55 M_SXML_WRITER Instance attribute Public Object reference (TYPE REF TO) CL_SXML_STRING_WRITER SXML Writer 20080903
56 M_TRANSFORMATION Instance attribute Private Type reference (TYPE) CXSLTDESC Name eines XSLT-Programms 20080903
57 M_USE_ELEMENT Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Use the element name and not attribute-Id for C14n 20100604
58 M_XML_REF Instance attribute Private Object reference (TYPE REF TO) XSTRING 20100407
59 M_XPATH_EXPRESSION Instance attribute Public Type reference (TYPE) STRING XPath Expression 20100604
Methods
# Method Level Visibility Method type Description Created on
1 CANONICALIZE_XML Instance method Private Method Canonicalize XML input data from XSTRING or CSTRING 20100604
2 CONSUME_XML Instance method Private Method Erzetzte NameSpace Prefix ds 20100407
3 CREATE_READER_INSTANCE Static method Public Method Create Reading Instance from XML Data or SXML_READER 20080903
4 CREATE_WRITER_INSTANCE Static method Public Method Create Reading Instance from XML Data or SXML_READER 20080904
5 EMBED_SIGNATURE Static method Public Method Activates properties for Web Service Security 20100407
6 GET_ATTRIBUTES Instance method Public Method Returns X.509 certificate of signature check 20080925
7 GET_DSIG_REFERENCE Instance method Private Method Erzeuge Signature Struktur 20080908
8 GET_PSE_INFO Instance method Private Method Erzeuge Referenzstruktur zu DSIG 20080908
9 GET_SIGNATURE_NODE Instance method Private Method Lese XML Daten ein 20100407
10 GET_SIGNER_CERTIFICATE Instance method Public Method Insert XML Structure in Document 20100407
11 GET_XML_NAME Instance method Private Method Determine First Element Name of XML fragement 20100604
12 HANDLE_SSF_ERROR Static method Private Method Generic SSF error handler 20100604
13 HMAC_SIGNATURE Instance method Private Method Create and Verify HMAC Signatures 20100604
14 READ_SIGNATURE_NODE Instance method Private Method Create signature node element 20100604
15 REPLACE_NSP Instance method Private Method Ermittle SSFINFO zur PSE 20100407
16 RESIGN_SIGNEDINFO Static method Private Method resign SignedInfo for Inclusive C14N 20130619
17 SET_ATTRIBUTES Instance method Public Method Activates properties for Web Service Security 20080925
18 SET_SIGNATURE_REFERENCE Instance method Public Method Set Simple/XSLT Transformation Program Name 20080924
19 SET_TRANSFORMATION Instance method Public Method Set Simple/XSLT Transformation Program Name 20080903
20 SIGN_STRING Static method Public Method Create a Digital Signature for CString 20081203
21 SIGN_XML Instance method Public Method Create a Digital Signature for XML Fragment 20081125
22 SIGN_XSTRING Static method Public Method Create a Digital Signature for XString 20081125
23 VERIFY_STRING Static method Public Method Check Digital Signature for CString 20081203
24 VERIFY_XML Instance method Public Method Check Digital Signature for XML Fragment 20081125
25 VERIFY_XSTRING Static method Public Method Check Digital Signature for XString 20081125
Events
Class CL_SEC_SXML_DSIGNATURE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_SSFINFO Private See coding 20100604 TT_SSFINFO TYPE STANDARD TABLE OF SSFINFO
Method Signatures

Method CANONICALIZE_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DSIG_INFO Call by reference Type reference (TYPE) SEC_XML_DSIG_INFO New Information for XML Signature 20100604
2 Importing IF_DIGEST_METHOD Call by reference Type reference (TYPE) STRING WSSEC_CO_DIGEST_SHA1 DigestMethod URI 20100604
3 Importing IF_INCLUSIVE_NSP Call by reference Type reference (TYPE) STRING Inclusiive Namespaces 20100604
4 Importing IS_DSIG_INFO Call by reference Type reference (TYPE) SEC_XML_DSIG_INFO Old Information for XML Signature 20100604
5 Importing IS_SIGNATURE Call by reference Type reference (TYPE) SEC_DSIG_SIGNATURE ds:Signature 20100604
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method CONSUME_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_SIGNATURE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Erwarte Signatur 20100407
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method CREATE_READER_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EF_OBJECT Value transfer Object reference (TYPE REF TO) CL_SEC_SXML_DSIGNATURE 20080904
2 Importing IF_ATTRIBUTE Call by reference Type reference (TYPE) XSTRING '4964' 20080904
3 Importing IF_ATTRIBUTE_STRING Call by reference Type reference (TYPE) STRING 20100604
4 Importing IF_ELEMENT Call by reference Type reference (TYPE) XSTRING 20090922
5 Importing IF_ELEMENT_STRING Call by reference Type reference (TYPE) STRING 20100604
6 Importing IF_INPUT Call by reference Type reference (TYPE) XSTRING 20080904
7 Importing IF_INPUT_BASE64 Call by reference Type reference (TYPE) STRING 20100604
8 Importing IF_NAMESPACE Call by reference Type reference (TYPE) XSTRING 20080904
9 Importing IF_NAMESPACE_STRING Call by reference Type reference (TYPE) STRING 20100604
10 Importing IF_READER Call by reference Object reference (TYPE REF TO) CL_SXML_READER SXML Reader 20080904
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080924

Method CREATE_WRITER_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EF_OBJECT Value transfer Object reference (TYPE REF TO) CL_SEC_SXML_DSIGNATURE 20080904
2 Importing IF_ATTRIBUTE Call by reference Type reference (TYPE) XSTRING '4964' 20080904
3 Importing IF_INPUT_BASE64 Call by reference Type reference (TYPE) STRING 20100604
4 Importing IF_NAMESPACE Call by reference Type reference (TYPE) XSTRING 20080904
5 Importing IF_WRITER Call by reference Object reference (TYPE REF TO) CL_SXML_WRITER SXML Writer 20080905
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080924

Method EMBED_SIGNATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) XSTRING Ergebnisdaten in XML 20100407
2 Importing IF_EMBED_AS_CHILD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Füge Signatur als Kindknoten oder Nachbarknoten ein 20100407
3 Importing IF_EMBED_AT_END Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Füge Signatur am Ende oder Anfang 20100407
4 Importing IF_EMBED_INTO Call by reference Type reference (TYPE) STRING Füge Signatur in bestimmten Knoten ein oder ersten (initial) 20100407
5 Importing IF_SIGNATURE Call by reference Type reference (TYPE) XSTRING Signature XML Knoten aus SIGN_XML 20100407
6 Importing IF_XML Call by reference Type reference (TYPE) XSTRING Ausgangsdaten in XML 20100407
7 Importing IS_SIGNER Call by reference Type reference (TYPE) SSFINFO Signer Information 20130805
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100407

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_ATTRIBUTE_NAME Call by reference Type reference (TYPE) STRING 20080925
2 Exporting EF_ATTRIBUTE_NAMESPACE Call by reference Type reference (TYPE) STRING 20080925
3 Exporting EF_CRYPT_HEADER_NAME Call by reference Type reference (TYPE) STRING 20080925
4 Exporting EF_CRYPT_HEADER_NAMESPACE Call by reference Type reference (TYPE) STRING 20080925
5 Exporting EF_DECRYPT Call by reference Type reference (TYPE) ABAP_BOOL Automatische Entschlüsselung aktiv 20090213
6 Exporting EF_ELEMENT_NAME Call by reference Type reference (TYPE) STRING 20100604
7 Exporting EF_STR_TRANSFORM Call by reference Type reference (TYPE) ABAP_BOOL 20080925
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080925

Method GET_DSIG_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DSIG_INFO Call by reference Type reference (TYPE) SEC_XML_DSIG_INFO_TAB Table of SEC_XML_DSIG_INFO 20080908
2 Exporting ELEMENT_NAME Call by reference Type reference (TYPE) STRING Name des signierten XML Knoten 20100407
3 Exporting REFERENCE Call by reference Type reference (TYPE) SEC_DSIG_REFERENCE ds:Reference 20080908
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080924

Method GET_PSE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_ENCRALG Call by reference Type reference (TYPE) SSFARGS-ENCRALG SSF Encryption Algrorithm 20081125
2 Exporting EF_EXPONENT Call by reference Type reference (TYPE) STRING Exponent in KeyInfo 20120216
3 Exporting EF_HASHALG Call by reference Type reference (TYPE) SSFARGS-HASHALG SSF Hash Algorithm 20081125
4 Exporting EF_MODULUS Call by reference Type reference (TYPE) STRING Modulus in KeyInfo 20120216
5 Exporting EF_SSFFORMAT Call by reference Type reference (TYPE) SSFPARMS-SSFFORMAT SSF Format 20081125
6 Exporting EF_SSFTOOLKIT Call by reference Type reference (TYPE) SSFPARMS-SSFTOOLKIT SSF: Selection of security product 20081125
7 Exporting EF_SSF_INFO Call by reference Type reference (TYPE) SSFINFO SSF signer/recipient information 20080908
8 Exporting EF_X509CERT Call by reference Type reference (TYPE) XSTRING 20090922
9 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20080908
10 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20080908
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080925

Method GET_SIGNATURE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_SIGNATURE_NAME Call by reference Type reference (TYPE) STRING Name des signierten XML Knotens 20100407
2 Exporting ES_SIGNATURE Call by reference Type reference (TYPE) SEC_DSIG_SIGNATURE ds:Signature 20100407
3 Importing IS_DSIG_INFO Call by reference Type reference (TYPE) SEC_XML_DSIG_INFO_TAB Tabelle von SEC_XML_DSIG_INFO 20100407
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method GET_SIGNER_CERTIFICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_VALUE Value transfer Type reference (TYPE) XSTRING X.509 Zertifikat 20100407

Method GET_SIGNER_CERTIFICATE on class CL_SEC_SXML_DSIGNATURE has no exception.

Method GET_XML_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_STNAME Call by reference Type reference (TYPE) CXSLTDESC Name of an ST Program 20100604
2 Exporting EF_STRING Call by reference Type reference (TYPE) STRING Name as String 20100604
3 Importing IF_XML Call by reference Type reference (TYPE) XSTRING XML 20100604
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method HANDLE_SSF_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_CRC Call by reference Type reference (TYPE) I -1 Error code 20100604
2 Importing IF_NAME Call by reference Type reference (TYPE) STRING Function Name 20100604
3 Importing IT_SSF_INFO Call by reference Type reference (TYPE) TT_SSFINFO SSF_INFO 20100604
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method HMAC_SIGNATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CF_SIGNATURE Call by reference Type reference (TYPE) XSTRING HMAC Signature 20100604
2 Exporting EF_RESULT Call by reference Type reference (TYPE) I CRC 20100604
3 Importing IF_ALGORITHM Call by reference Type reference (TYPE) SEC_XML_DSIG_HASH 'SHA1' Hash Algorithms for the XML Message Digest 20100604
4 Importing IF_DATA Call by reference Type reference (TYPE) XSTRING Data for HMAC Signature 20100604
5 Importing IF_KEY Call by reference Type reference (TYPE) XSTRING HMAC Key 20100604
6 Importing IF_VERIFY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE X: Verify, SPACE: Sign 20100604
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method READ_SIGNATURE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SIGNATURE Call by reference Type reference (TYPE) SEC_DSIG_SIGNATURE ds:Signature as structure 20100604
2 Exporting EF_DIGEST_METHOD Call by reference Type reference (TYPE) STRING DigestMethod URI 20100604
3 Exporting EF_INCLUSIVE_NSP Call by reference Type reference (TYPE) STRING Inclusive Namespace declaration in ds:Signature 20100604
4 Importing IF_SIGNATURE Call by reference Type reference (TYPE) XSTRING ds:Signature as XML 20100604
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100604

Method REPLACE_NSP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CF_XML Call by reference Type reference (TYPE) XSTRING XML-Fragment 20100407
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20100407

Method RESIGN_SIGNEDINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_SIGNATURE Call by reference Type reference (TYPE) XSTRING Signature XML Knoten aus SIGN_XML 20130619
2 Importing IR_READER Call by reference Object reference (TYPE REF TO) IF_SXML_READER SXML Reader Interface 20130619
3 Importing IS_SIGNER Call by reference Type reference (TYPE) SSFINFO Signer Information 20130620
4 Returning RF_SIGNATURE Value transfer Type reference (TYPE) XSTRING Modified Signature 20130619

Method RESIGN_SIGNEDINFO on class CL_SEC_SXML_DSIGNATURE has no exception.

Method SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ATTRIBUTE_NAME Call by reference Type reference (TYPE) STRING 20080925
2 Importing IF_ATTRIBUTE_NAMESPACE Call by reference Type reference (TYPE) STRING 20080925
3 Importing IF_CRYPT_HEADER_NAME Call by reference Type reference (TYPE) STRING 20080925
4 Importing IF_CRYPT_HEADER_NAMESPACE Call by reference Type reference (TYPE) STRING 20080925
5 Importing IF_DECRYPT Call by reference Type reference (TYPE) ABAP_BOOL Soll automatische Entschlüsselung aktiv sein 20090213
6 Importing IF_ELEMENT_NAME Call by reference Type reference (TYPE) STRING 20100604
7 Importing IF_STR_TRANSFORM Call by reference Type reference (TYPE) ABAP_BOOL 20080925
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080925

Method SET_SIGNATURE_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_SIGNATURE_REF Call by reference Type reference (TYPE) XSDANY 20080924
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080924

Method SET_TRANSFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_DATA_REF Call by reference Type reference (TYPE) ANY 20080924
2 Changing CH_SIGNATURE_DATA Call by reference Type reference (TYPE) XSDANY 20081103
3 Changing CH_SIGNATURE_REF Call by reference Object reference (TYPE REF TO) XSDANY 20080923
4 Importing IF_DATA_TAB Call by reference Type reference (TYPE) ABAP_TRANS_RESBIND_TAB 20080904
5 Importing IF_NAME Call by reference Type reference (TYPE) CXSLTDESC ' ' Name of an XSLT Program 20080904
6 Importing IF_ROOTNAME Call by reference Type reference (TYPE) CLIKE 20080904
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20080924

Method SIGN_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Return code 20081203
2 Exporting EF_SIGNATURE Call by reference Type reference (TYPE) XSTRING 20081203
3 Exporting EF_SIGNATURE_B64 Call by reference Type reference (TYPE) STRING 20081203
4 Importing IF_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT 20090922
5 Importing IF_DETACHED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100604
6 Importing IF_INCLUCE_CERTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100604
7 Importing IF_PSE_CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'SSFA' 20090922
8 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081203
9 Importing IF_SSF_FORMAT Call by reference Type reference (TYPE) SSFFORM SSF-Format 20100428
10 Importing IF_SSF_HASH_ALGORITHM Call by reference Type reference (TYPE) SSFHASH SSF Hash Algorithm 20131128
11 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081203
12 Importing IF_STRING Call by reference Type reference (TYPE) STRING 20081203
13 Importing IF_USE_IN_XML Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Verwende Signatur in XML 20100428
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR 20081203

Method SIGN_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Return code 20081125
2 Exporting EF_SIGNATURE_XML Call by reference Type reference (TYPE) XSDANY Signature XML-Fragment 20100407
3 Exporting EF_SIGNED_XML Call by reference Type reference (TYPE) XSDANY 20081125
4 Exporting ES_SIGNER Call by reference Type reference (TYPE) SSFINFO Signer Info 20130805
5 Exporting ET_SIGNATURE Call by reference Type reference (TYPE) SEC_DSIG_SIGNATURE 20081125
6 Importing IF_ADD_KEYINFO Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20081125
7 Importing IF_ADD_KEYINFO_EX Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Insert Extended KeyInfo in Signature Fragment 20120216
8 Importing IF_RE_TRANSFORM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20081125
9 Importing IF_SIGNER_MACKEY Call by reference Type reference (TYPE) XSTRING 20100604
10 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081125
11 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081125
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20081125

Method SIGN_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Return code 20081125
2 Exporting EF_SIGNATURE Call by reference Type reference (TYPE) XSTRING 20081125
3 Exporting EF_SIGNATURE_B64 Call by reference Type reference (TYPE) STRING 20081125
4 Importing IF_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT 20090922
5 Importing IF_DETACHED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100604
6 Importing IF_INCLUCE_CERTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100604
7 Importing IF_PSE_CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'SSFA' 20090922
8 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081125
9 Importing IF_SSF_FORMAT Call by reference Type reference (TYPE) SSFFORM SSF-Format 20100428
10 Importing IF_SSF_HASH_ALGORITHM Call by reference Type reference (TYPE) SSFHASH SSF Hash Algorithm 20131128
11 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081125
12 Importing IF_USE_IN_XML Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Verwende Signatur in XML 20100428
13 Importing IF_XSTRING Call by reference Type reference (TYPE) XSTRING 20081125
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR 20081125

Method VERIFY_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Check Result 20081203
2 Exporting EF_UNSIGNED_DATA Call by reference Type reference (TYPE) STRING 20100604
3 Importing IF_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT 20090922
4 Importing IF_CRL_PROFILE Call by reference Type reference (TYPE) CR_PROFILE Profile Name 20110714
5 Importing IF_PSE_CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'SSFA' 20090922
6 Importing IF_SIGNATURE Call by reference Type reference (TYPE) XSTRING Digital Signature 20081203
7 Importing IF_SIGNATURE_B64 Call by reference Type reference (TYPE) STRING 20081203
8 Importing IF_SIGNER_CERT Call by reference Type reference (TYPE) XSTRING 20081203
9 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081203
10 Importing IF_SSF_FORMAT Call by reference Type reference (TYPE) SSFFORM SSF-Format 20100428
11 Importing IF_SSF_HASH_ALGORITHM Call by reference Type reference (TYPE) SSFHASH SSF Hash Algorithm 20131128
12 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081203
13 Importing IF_SSF_SIGNERID Call by reference Type reference (TYPE) SSFID SSF Name for Signatory/Recipient 20081203
14 Importing IF_STRING Call by reference Type reference (TYPE) STRING 20081203
15 Importing IF_USE_IN_XML Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Verwende Signatur in XML 20100428
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20081203

Method VERIFY_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Check Result 20081125
2 Exporting EF_UNSIGNED_XML Call by reference Type reference (TYPE) XSDANY XML Fragment 20081125
3 Exporting ES_KEYINFO Call by reference Type reference (TYPE) SEC_DSIG_KEYINFO 20090922
4 Importing IF_NO_SIGNATURE_EXCEPTION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20081125
5 Importing IF_SIGNER_CERT Call by reference Type reference (TYPE) XSTRING 20081125
6 Importing IF_SIGNER_MACKEY Call by reference Type reference (TYPE) XSTRING 20100604
7 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081125
8 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081125
9 Importing IF_SSF_SIGNERID Call by reference Type reference (TYPE) SSFID SSF Name for Signatory/Recipient 20081125
10 Importing IF_USE_KEYINFO Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Verwende Zertifikat aus KeyInfo zur Prüfung 20100407
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20081125

Method VERIFY_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_RESULT Call by reference Type reference (TYPE) ABAP_BOOL Check Result 20081125
2 Exporting EF_UNSIGNED_DATA Call by reference Type reference (TYPE) XSTRING 20100604
3 Importing IF_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT 20090922
4 Importing IF_CRL_PROFILE Call by reference Type reference (TYPE) CR_PROFILE Profile Name 20110714
5 Importing IF_PSE_CONTEXT Call by reference Type reference (TYPE) PSECONTEXT 'SSFA' 20090922
6 Importing IF_SIGNATURE Call by reference Type reference (TYPE) XSTRING Digital Signature 20081125
7 Importing IF_SIGNER_CERT Call by reference Type reference (TYPE) XSTRING 20081125
8 Importing IF_SSF_APP Call by reference Type reference (TYPE) SSFAPPL 'DFAULT' SSF Application 20081125
9 Importing IF_SSF_FORMAT Call by reference Type reference (TYPE) SSFFORM SSF-Format 20100428
10 Importing IF_SSF_HASH_ALGORITHM Call by reference Type reference (TYPE) SSFHASH SSF Hash Algorithm 20131128
11 Importing IF_SSF_PAB Call by reference Type reference (TYPE) SSFPAB Private Address Book for SSF 20081125
12 Importing IF_SSF_SIGNERID Call by reference Type reference (TYPE) SSFID SSF Name for Signatory/Recipient 20081125
13 Importing IF_USE_IN_XML Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Verwende Signatur in XML 20100428
14 Importing IF_XSTRING Call by reference Type reference (TYPE) XSTRING 20081125
# Exception Resumable Description Created on
1 CX_SEC_SXML_ERROR SXML Security Exception 20081125
History
Last changed by/on SAP  20140121 
SAP Release Created in 720