File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
security/src/main/java/org/springframework/ws/soap/security/wss4j Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ public void setSecurementEncryptionCrypto(Crypto securementEncryptionCrypto) {
162
162
handler .setSecurementEncryptionCrypto (securementEncryptionCrypto );
163
163
}
164
164
165
+ /** Sets the key name that needs to be sent for encryption. */
166
+ public void setSecurementEncryptionEmbeddedKeyName (String securementEncryptionEmbeddedKeyName ) {
167
+ handler .setOption (WSHandlerConstants .ENC_KEY_NAME , securementEncryptionEmbeddedKeyName );
168
+ }
169
+
165
170
/**
166
171
* Defines which key identifier type to use. The WS-Security specifications recommends to use the identifier type
167
172
* <code>IssuerSerial</code>. For possible encryption key identifier types refer to {@link
You can’t perform that action at this time.
0 commit comments