Sets the Master Key to be used for generating the Transmit session keys
(only 256 bit keys supported - see PrivateGSM Tech Spec, 5.4.3)

@param key
Master Key string
@return true if successfully set, false otherwise (invalid key length)
773049
public boolean setTxMasterKey(byte[] key) {
		boolean res = false;
		if ((key.length == MASTER_KEY_SIZE_32_BYTES)
				|| (key.length == MASTER_KEY_SIZE_16_BYTES)) {
			txMasterKey = null;
			txMasterKey = platform.getUtils().copy(key);
			res = true;
			logDebug("setTxMasterKey "
					+ platform.getUtils().byteToHexString(txMasterKey));
		} else {
			logError("Wrong length iTxMasterKey: " + key.length);
		}
		return res;
	}
846373
public final void setShardingKeys(Object shardingKey, Object superShardingKey) throws SQLException {
        if (mcf.beforeJDBCVersion(JDBCRuntimeVersion.VERSION_4_3))
            throw new SQLFeatureNotSupportedException();

        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(this, tc, "Set sharding key/super sharding key to " + shardingKey + "/" + superShardingKey); 

        mcf.jdbcRuntime.doSetShardingKeys(sqlConn, shardingKey, superShardingKey);
        currentShardingKey = shardingKey;
        if (superShardingKey != JDBCRuntimeVersion.SUPER_SHARDING_KEY_UNCHANGED)
            currentSuperShardingKey = superShardingKey;
        connectionPropertyChanged = true;
    }
1036367
public boolean setPublicKey (String key)
    {
        return key == null ? false : setPublicKey(SecureUtil.stringToRSAPublicKey(key));
    }
1160993
public <T> boolean containsKey(Key<T> key) {
        if (key == null) {
            throw new IllegalArgumentException("key must not be null");
        }
        return data.containsKey(key.getName());
    }
883142
public boolean setPublicKey (PublicKey key)
    {
        if (SecureUtil.ciphersSupported(key)) {
            _publicKey = key;
            return true;
        }
        return false;
    }
566978
public boolean containsKey(Object key) {
        Object k = maskNull(key);
        Object[] tab = table;
        int len = tab.length;
        int i = hash(k, len);
        while (true) {
            Object item = tab[i];
            if (item == k)
                return true;
            if (item == null)
                return false;
            i = nextKeyIndex(i, len);
        }
    }
282215
public boolean handleKeyDeletion(final String key) {

        if (m_keyset.getKeySet().contains(key)) {
            if (removeKeyForAllLanguages(key)) {
                m_keyset.removeKey(key);
                return true;
            } else {
                return false;
            }
        }
        return true;
    }
94360
@Override
    public boolean containsKey(Object key) {
        if (key == null) {
            return false;
        }
        Map<String, GroovyRunner> map = getMap();
        readLock.lock();
        try {
            return map.containsKey(key);
        } finally {
            readLock.unlock();
        }
    }
750892
public synchronized void updateMasterConf(PropertyKey key, @Nullable String value) {
    mMasters.forEach(master -> master.updateConf(key, value));
  }
52639
public T setMaster(String master) {
    checkNotNull(master, "master");
    builder.master = master;
    return self();
  }
10859
private static void validateKey(String key) {
		if (key == null || key.length() > MAX_KEY_SIZE) {
			throw new IllegalArgumentException("Invalid key - must be non null and have a length less than " + MAX_KEY_SIZE);
		}
	}
445453
public Set<Object> hkeys(Object key) {
		Jedis jedis = getJedis();
		try {
			Set<byte[]> fieldSet = jedis.hkeys(keyToBytes(key));
			Set<Object> result = new HashSet<Object>();
			fieldSetFromBytesSet(fieldSet, result);
			return result;
		}
		finally {close(jedis);}
	}
844140
public void containsKey(@NullableDecl Object key) {
    check("keySet()").that(actual().keySet()).contains(key);
  }
1337230
public boolean hasElementWithKey(String key) {

        for (CmsContainerConfiguration configuration : m_parentConfigurations) {
            if (configuration.getNewElements().containsKey(key)) {
                return true;
            }
        }
        return false;
    }
863536
public void setKey(String key) {
        if (!isValidParamKey(key)) {
            throw ExceptionUtils.buildRuntime("param.key", key, "key can not start with "
                + RpcConstants.HIDE_KEY_PREFIX + " and " + RpcConstants.INTERNAL_KEY_PREFIX);
        }
        this.key = key;
    }
296560
public static boolean isValidInternalParamKey(String key) {
        char c = key.charAt(0);
        return c == RpcConstants.INTERNAL_KEY_PREFIX || c == RpcConstants.HIDE_KEY_PREFIX;
    }
1108595
public boolean isValidSignature(final Key key) {
        final byte[] computedHmac = key.sign(getVersion(), getTimestamp(), getInitializationVector(),
                getCipherText());
        return Arrays.equals(getHmac(), computedHmac);
    }