Logger.trace(opContext, bld.toString()); } catch (Exception e) {
Logger.trace(opContext, bld.toString()); } catch (Exception e) {
/** * Get the signature hash embedded inside the Shared Access Signature. * * @param stringToSign * The string to decode and hash * @param creds * Reference to the {@link StorageCredentials}. * * @return The signature hash embedded inside the Shared Access Signature. * * @throws InvalidKeyException * @throws StorageException */ private static String generateSharedAccessSignatureHashHelper(String stringToSign, final StorageCredentials creds) throws StorageException, InvalidKeyException { Utility.assertNotNull("credentials", creds); Logger.trace(null, LogConstants.SIGNING, stringToSign); stringToSign = Utility.safeDecode(stringToSign); return StorageCredentialsHelper.computeHmac256(creds, stringToSign); }
Logger.trace(opContext, LogConstants.SIGNING, stringToSign);
Logger.trace(opContext, LogConstants.SIGNING, stringToSign);