* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
byte[] signature = instance.sign();
outStr = Base64.encode(signature);
String tmp = new String(outStr);
- } catch (InvalidKeyException e) {
- logger.error(e.getMessage());
- } catch (IOException e) {
- logger.error(e.getMessage());
- } catch (SignatureException e) {
- logger.error(e.getMessage());
- } catch (NoSuchAlgorithmException e) {
+ } catch (InvalidKeyException | IOException | SignatureException | NoSuchAlgorithmException e) {
logger.error(e.getMessage());
}
return new String(outStr);