docs: @Override
      public SecretKey getSecretKeyFromKeyStore(String keyStoreName, String alias, @Sensitive String keyPassword) throws KeyStoreException, CertificateException {
          try {
              WSKeyStore wsKS = ksMgr.getKeyStore(keyStoreName);
              if (wsKS == null) {
                  throw new KeyStoreException("The WSKeyStore [" + keyStoreName + "] is not present in the configuration");
              }
  
              Key key = wsKS.getKey(alias, keyPassword);
              if (key instanceof SecretKey) {
                  return (SecretKey) key;
              } else {
                  throw new CertificateException("The alias [" + alias + "] is not an instance of SecretKey");
              }
          } catch (CertificateException e) {
              throw e;
          } catch (KeyStoreException e) {
              throw e;
          } catch (Exception e) {
              throw new KeyStoreException("Unexpected error while loading the requested secret key for alias [" + alias + "] from keystore: " + keyStoreName, e);
          }
      }