microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java
public String generateSharedAccessSignature(final SharedAccessTablePolicy policy,
            final String accessPolicyIdentifier, final String startPartitionKey, final String startRowKey,
            final String endPartitionKey, final String endRowKey) throws InvalidKeyException, StorageException {
        
        return generateSharedAccessSignature(policy, accessPolicyIdentifier,
                startPartitionKey, startRowKey, endPartitionKey, endRowKey, null /* IP Range */, null /* Protocols */);
    }
public String generateSharedAccessSignature(final SharedAccessTablePolicy policy,
            final String accessPolicyIdentifier, final String startPartitionKey, final String startRowKey,
            final String endPartitionKey, final String endRowKey) throws InvalidKeyException, StorageException {
        
        return generateSharedAccessSignature(policy, accessPolicyIdentifier,
                startPartitionKey, startRowKey, endPartitionKey, endRowKey, null /* IP Range */, null /* Protocols */);
    }
Creates a shared access signature for the table.

@param policy
A {@link SharedAccessTablePolicy} object which represents the access policy for the shared access
signature.
@param accessPolicyIdentifier
A <code>String</code> which represents a table-level access policy.
@param startPartitionKey
A <code>String</code> which represents the starting partition key.
@param startRowKey
A <code>String</code> which represents the starting row key.
@param endPartitionKey
A <code>String</code> which represents the ending partition key.
@param endRowKey
A <code>String</code> which represents the ending end key.

@return A <code>String</code> containing the shared access signature for the table.

@throws InvalidKeyException
If an invalid key was passed.
@throws StorageException
If a storage service error occurred.
@throws IllegalArgumentException
If an unexpected value is passed.