Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These functions support the signing of data using CMS signature. See the JDK product documentation for information about using keytool in different scenarios.

...

Info
titleExample - Using signPKCS7


Code Block
initialize { 
	loadPKCS7Certificate("/etc/keystores/keystore.jks",
 	"certificateA", "keystoreAndAliasPassword", "SHA1withRSA") 
}
consume { 
	bytearray baToSign; 
	strToBA(baToSign, "Hello World!"); 
	input.response = signPKCS7(baToSign); 
	udrRoute(input) 
} 

...