public static String generateSharedAccessSignatureHashForTable ( final SharedAccessTablePolicy policy , final String accessPolicyIdentifier , final String resourceName , final IPRange ipRange , final SharedAccessProtocols protocols , final String startPartitionKey , final String startRowKey , final String endPartitionKey , final String endRowKey , final ServiceClient client ) throws InvalidKeyException , StorageException { String stringToSign = generateSharedAccessSignatureStringToSign ( policy , resourceName , ipRange , protocols , accessPolicyIdentifier ) ; stringToSign = String . format ( "%s\n%s\n%s\n%s\n%s" , stringToSign , startPartitionKey == null ? Constants . EMPTY_STRING : startPartitionKey , startRowKey == null ? Constants . EMPTY_STRING : startRowKey , endPartitionKey == null ? Constants . EMPTY_STRING : endPartitionKey , endRowKey == null ? Constants . EMPTY_STRING : endRowKey ) ; return generateSharedAccessSignatureHashHelper ( stringToSign , client . getCredentials ( ) ) ; }
Get the signature hash embedded inside the Shared Access Signature for the table service .